Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

Xbasic

Xbasic - Programming language

< >

Xbasic is a programming language created in 1988 by Max Reason.

#1093on PLDB 35Years Old 25Users
0Books 0Papers

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. Read more on Wikipedia...


Example from hello-world:
IMPORT "xst" DECLARE FUNCTION Hello () FUNCTION Hello () XstDisplayConsole () PRINT "Hello World" END FUNCTION END PROGRAM
Example from Wikipedia:
' 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

Language features

Feature Supported Token Example
Strings "
"Hello world"
Print() Debugging PRINT
Comments
' A comment
Line Comments '
' A comment
Semantic Indentation X
mond.html · xbasic.html · rc.html

View source

- Build the next great programming language · Search · Day 213 · About · Blog · Acknowledgements · Traffic · Traffic Today · GitHub · feedback@pldb.com