Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Characteristics  





2 Components  





3 Example code  





4 References  





5 External links  














XBasic






Español
Русский
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikibooks
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


XBasic
FamilyBASIC
Designed byMax Reason[1]
DevelopersMax Reason, Eddie Penninkhof[2]
First appearedlate 1980s
Stable release

6.3.26 / 2018; 6 years ago (2018)

Preview release

6.3.26 / 2018; 6 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.[3]

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]

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. ^ "maxreason@gmail.com - home". maxreason.com. Archived from the original on 28 March 2022.
  • ^ What am I required to know when writing in XBasic?, XBasic Facts
  • ^ "Xbwlteam". GitHub.
  • External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=XBasic&oldid=1176888717"

    Categories: 
    BASIC compilers
    Linux integrated development environments
    Programming tools for Windows
    BASIC programming language family
    Free integrated development environments
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
    Articles lacking in-text citations from January 2013
    All articles lacking in-text citations
    Use dmy dates from March 2017
    Articles with example BASIC code
     



    This page was last edited on 24 September 2023, at 16:49 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki