This article includes a list ofgeneral references, butit lacks sufficient correspondinginline citations. Please help toimprove this article byintroducing more precise citations.(January 2013) (Learn how and when to remove this message) |
| XBasic | |
|---|---|
| Family | BASIC |
| Developers | Max Reason, Eddie Penninkhof[1] |
| First appeared | late 1980s |
| Stable release | 6.3.26 / 2018; 8 years ago (2018) |
| Preview release | 6.3.26 / 2018; 8 years ago (2018) |
| Platform | i386 |
| OS | Windows,Linux |
| License | GNU LGPL |
| Filename extensions | x |
| Website | xbasic |
| Influenced by | |
| BASIC,C (programming language) | |
XBasic is a variant of theBASIC programming language that was developed in the late 1980s for theMotorola 88000 CPU andUnix by Max Reason. In the early 1990s it was ported toWindows andLinux, and since 1999 it has been available asopen source software with its runtime library under theLGPL license.
It should not be confused withTI Extended BASIC, which is sometimes called XBasic or X Basic. It should also not be confused with the proprietary Xbasic language used in Alpha Software's Alpha Anywhere and Alpha Five products.
Version 6.2.3 was the last official release, released on 27 October 2002, however unofficial releases are still being maintained by a group of enthusiasts onGitHub.[2]
XBasic has signed and unsigned 8-, 16- and 32-bit and signed 64-bitintegers as well as 32- and 64-bitfloating point values. The string data type is only for 8-bit characters.
It is possible to generate anassembly language file. XBasic has a Windows only version calledXBLite. Development is atSourceForge.
' Programs contain:' 1. A PROLOG with type/function/constant declarations.' 2. This Entry() function where execution begins.' 3. Zero or more additional functions.'FUNCTIONEntry()PRINT"Hello World"PRINT2+2PRINT44/12PRINT33*3ENDFUNCTION