XBasic
FamilyBASIC
DevelopersMax Reason, Eddie Penninkhof[1]
First appearedlate 1980s
Stable release
6.3.26 / 2018; 8 years ago (2018)
Preview release
6.3.26 / 2018; 8 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.[2]

Characteristics

edit

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

edit
  • 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

edit
' 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

edit
  1. ^ What am I required to know when writing in XBasic?[permanent dead link], XBasic Facts
  2. ^ "Xbwlteam". GitHub.
edit

📚 Artikel Terkait di Wikipedia

XBLite

David Szafranski in order to provide a Windows exclusive version of the XBasic dialect. XBLite is released under the GNU GPL licensing scheme, Standard

Linux

available in procedural form from QB64, PureBasic, Yabasic, GLBasic, Basic4GL, XBasic, wxBasic, SdlBasic, and Basic-256, and in object oriented through Gambas

BASIC

Unix-like systems, specialized implementations were created such as XBasic and X11-Basic. XBasic was ported to Microsoft Windows as XBLite, and cross-platform

List of filename extensions (S–Z)

Ext. Description Used by X LEX source code file X XBasic Source code file Xbasic X3D x3d and xdart Formats XAR Xara graphics file Files created by Xara

Generational list of programming languages

(Xojo) TI-BASIC True BASIC Turbo Basic PowerBASIC wxBasic SdlBasic RCBasic XBasic YaBasic MS-DOS Batch files Winbatch CLIST IBM Control Language (CL) IBM

PureBasic

downloadable Basic Compilers: QuickBASIC, PureBasic, PowerBASIC, Blitz Basic, XBasic, Turbo Basic, Visual Basic, FutureBASIC, REALbasic, FreeBASIC. ISBN 1-155-32445-5

List of BASIC dialects

independent wxWidgets toolkit library. For Linux, macOS (proposed), and Windows. XBasic (Windows, Linux) – open-source compiler with a GUI designer XBLite (Windows)

BASIC interpreter

exception to the use of assembly was the use of ALGOL 60 for the Paisley XBASIC interpreter for Burroughs large systems. Another exception, and type-in