Misplaced Pages

XBasic

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Variant of the BASIC programming language
This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations. (January 2013) (Learn how and when to remove this message)
XBasic
FamilyBASIC
Designed byMax Reason
DevelopersMax Reason, Eddie Penninkhof
First appearedlate 1980s
Stable release6.3.26 / 2018; 7 years ago (2018)
Preview release6.3.26 / 2018; 7 years ago (2018)
PlatformI386
OSWindows, Linux
LicenseGNU LGPL
Filename extensionsx
Websitexbasic.sourceforge.net
Influenced by
BASIC, C (programming language)

XBasic is a variant of the BASIC programming language that was developed in the late 1980s for the Motorola 88000 CPU and Unix by Max Reason. In the early 1990s it was ported to Windows and Linux, and since 1999 it has been available as open source software with its runtime library under the LGPL license.

It should not be confused with TI 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 on GitHub.

Characteristics

XBasic 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 data type is only for 8-bit characters.

It is possible to generate an assembly language file. XBasic has a Windows only version called XBLite. Development is at SourceForge.

Components

  • Editor (writing source code)
  • Compiler (creating machine code)
  • Debugger (checking for errors)
  • Libraries (ready made code to call on)
  • GuiDesigner (creates the graphical user interface for the program)

Example code

 ' 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

References

  1. "maxreason@gmail.com - home". maxreason.com. Archived from the original on 28 March 2022.
  2. What am I required to know when writing in XBasic?, XBasic Facts
  3. "Xbwlteam". GitHub.

External links

Dialects of the BASIC programming language (list)
Classic
Microsoft
Texas Instruments
Hewlett-Packard
Locomotive Software
Microcomputers
Minicomputers
Time-sharing computers
Other
Extenders
Procedure-
oriented
Proprietary
Free and
open source
With object
extensions
Proprietary
Free and
open source
RAD
designers
Proprietary
Free and
open source
Defunct
Graphical user interface builders
Qt
Open source
GTK
Open source
Proprietary
wxWidgets
Open source
CLI
Open source
Proprietary
VCL,
related
Open source, LCL
Proprietary
Cocoa
Proprietary
Java-based
Open source
Proprietary
Windows API
Open source
Proprietary
Other
Open source
Proprietary

Categories:
XBasic Add topic