XBasic

Variant of the BASIC programming language


title: "XBasic" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["articles-with-example-basic-code", "basic-compilers", "linux-integrated-development-environments", "programming-tools-for-windows", "basic-programming-language-family", "free-integrated-development-environments"] description: "Variant of the BASIC programming language" topic_path: "technology/programming-languages" source: "https://en.wikipedia.org/wiki/XBasic" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::summary Variant of the BASIC programming language ::

::data[format=table title="Infobox programming language"]

FieldValue
nameXBasic
familyBASIC
releasedlate 1980s
developersMax Reason, Eddie Penninkhof
latest release version6.3.26
latest release date
latest preview version6.3.26
latest preview date
influenced byBASIC, C (programming language)
platformi386
operating systemWindows, Linux
licenseGNU LGPL
file extx
website
::

| name = XBasic | title = | logo = | logo caption = | screenshot = | screenshot caption = | paradigm = | family = BASIC | released = late 1980s | designer = | developers = Max Reason, Eddie Penninkhof | latest release version = 6.3.26 | latest release date = | latest preview version = 6.3.26 | latest preview date = | typing = | scope = | implementations = | dialects = | influenced by = BASIC, C (programming language) | influenced = | programming language = | platform = i386 | operating system = Windows, Linux | license = GNU LGPL | file ext = x | fileformat = | website = | wikibooks = 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

::code[lang=basic] ' 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

References

  1. [https://gnetools.sourceforge.net/xbsupport/viewpane_aboutxbasic.html What am I required to know when writing in XBasic?]{{Dead link. (July 2025)
  2. "Xbwlteam".

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

articles-with-example-basic-codebasic-compilerslinux-integrated-development-environmentsprogramming-tools-for-windowsbasic-programming-language-familyfree-integrated-development-environments