Content-type: text/html; charset=UTF-8 Man page of BAS2X11BASIC

BAS2X11BASIC

Section: X11-Basic (1)
Updated: 19-Apr-2020
Index Return to Main Contents
 

NAME

bas2x11basic - ANSI-Basic to X11-Basic converter  

SYNOPSIS

bas2x11basic [ option ] [-o outfile] <filename>

 

DESCRIPTION

X11-Basic is a dialect of the BASIC programming language with graphics.

X11-Basic is a structured programming language. Structure is a form of visual and functional encapsulation in which multiple line sections of a program look and act like single units. The beginning and end of blocks are marked by descriptive keyword delimiters. Lines within blocks are generally indented to make the block visible. Most important: X11-Basic does not use line numbers.

bas2x11basic can be used to make X11-Basic template programs out of ANSI basic files. It helps converting old (real) Basic Programs with line numbers and multiple commands per line to the X11-Basic structure. Because there are so many different BASIC versions and dialects around, in most cases you will have to edit these files produced manually. But most of the work will already have been done by this converter.

For a desciption of the X11-Basic language and usage of the interpreter see xbasic(1).

 

Filenames

bas2x11basic processes input files with extention .bas. The default output filename is b.bas.

 

OPTIONS

-o file
Place output in file file . If you do not specify `-o', the default is to use `b.bas'
--version
shows version, program and other information and exits
-h, --help
print a short help.

For detailed help and description of the implemented basic commands take a look at the README file.

 

EXAMPLES

bas2x11basic ansibasic.bas
    produces an output file b.bas

bas2x11basic ansibasic.bas -o newname.bas
    produces an output file newname.bas

You can find some samples of former ANSI basic programs in /usr/share/doc/packages/X11Basic/examples.

 

The ANSI Basic to X11-Basic converter

Actually this converter is not yet complete. Further improvenents may be applied in future. Please let me know about ANSI-Basic programs which will not be converted.

 

VERSION

Page was created for V.1.09

 

BUG REPORTS

If you find a bug in the ANSI Basic to X11-Basic converter, you should report it. But first, you should make sure that it really is a bug, and that it appears in the latest version of the X11-Basic package that you have.

Once you have determined that a bug actually exists, mail a bug report to kollo@users.sourceforge.net. If you have a fix, you are welcome to mail that as well! Suggestions may be mailed to the X11-Basic bug tracking system.

Comments and bug reports concerning this manual page should be directed to kollo@users.sourceforge.net.

 

AUTHOR

Markus Hoffmann <kollo@users.sourceforge.net>

 

COPYRIGHT

Copyright (C) 1997-2020 Markus Hoffmann <kollo@users.sourceforge.net>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

 

SEE ALSO

x11basic(1), rsc2gui(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
Filenames
OPTIONS
EXAMPLES
The ANSI Basic to X11-Basic converter
VERSION
BUG REPORTS
AUTHOR
COPYRIGHT
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 14:37:49 GMT, February 25, 2020