X11-Basic is a dialect of the BASIC programming language with graphics capability that integrates features like shell scripting, cgi-Programming and full graphical visualisation into the easy to learn basic language on modern computers.
X11-Basic is a structured programming language. Structure is a form of visual and functional encapsulation in which multipleline sections of 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 convertig old (real) Basic Programs with line numbers and multiple commands per line to the X11-Basic structure. Because there are so many different BASIC Version aroud, 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).
bas2x11basic processes input files with extention .bas. The default output filename is b.bas.
For detailed help and description of the implemented basic commands take a look at the README file.
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.
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.
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 email@example.com. 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 firstname.lastname@example.org.
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.