XBasic is a variant of the BASIC programming language that was developed in the late 1980s for the Motorola 88000 CPU and Unix. In the early 1990s it was ported to Windows and Linux. Since 1999 it is has been available as free software.
It has signed and unsigned 8-, 16- and 32-bit and signed 64-bit integers as well as 32- and 64-bit floating point values. The string datatype is only for 8 bit characters.
It is possible to generate an assembly language file. XBasic is still developed on Sourceforge.
- contains
Editor (writing computer code) Compiler (creating code) Debugger (checking for errors) Libraries (ready made 'internal' code to call on) GuiDesigner (creates the 'look and feel' of the program)
Writes fast, efficient, reliable 32/64-bit programs Creates GUI (Graphic User Interface programs that work IDENTICALY on Linux and WindowsOriginally costing several hundred dollars it is now FREEWARE and OpenSource
External links
- XBasic development page
- Downloads, documentation, links and resources
- Download Xbasic
- XBASIC at Sourceforge
- Making your first GUI Tutorial
- Making a Standalone Executable
- Example code
' ###################### ' ##### Entry () ##### ' ###################### ' ' Programs contain: ' 1. A PROLOG with type/function/constant declarations. ' 2. This Entry() function where execution begins. ' 3. Zero or more additional functions. ' FUNCTION Entry ()PRINT "Hello World"
PRINT 2+2 PRINT 44/12 PRINT 33*3
END FUNCTION