Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
XBasic
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Variant of the BASIC programming language}} {{more footnotes needed|date=January 2013}} {{Infobox programming language | name = XBasic | title = | logo = | logo caption = | screenshot = | screenshot caption = | paradigm = | family = [[BASIC]] | released = late 1980s<!-- {{Start date|YYYY}} --> | designer = | developers = Max Reason, Eddie Penninkhof<ref>[http://gnetools.sourceforge.net/xbsupport/viewpane_aboutxbasic.html What am I required to know when writing in XBasic?], XBasic Facts</ref> | latest release version = 6.3.26 | latest release date = {{start date and age|2018}} | latest preview version = 6.3.26 | latest preview date = {{start date and age|2018}} | 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 = {{URL|http://xbasic.sourceforge.net}} | 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 [[Microsoft Windows|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]].<ref>{{cite web | url=https://github.com/xbwlteam | title=Xbwlteam | website=[[GitHub]] }}</ref> == Characteristics == XBasic has signed and unsigned 8-, 16- and 32-bit and signed 64-bit [[integer]]s 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) * [[computer library|Libraries]] (ready made code to call on) * [[GUI builder|GuiDesigner]] (creates the graphical user interface for the program) ==Example code== <syntaxhighlight 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 </syntaxhighlight> ==References== {{reflist}} == External links == *https://groups.io/g/MaxReasonsxBasic *https://github.com/orgs/xbwlteam/repositories *{{sourceforge|xbasic}} *[http://www.xbasic.org/ documentation, links and resources] *[http://gnetools.sourceforge.net/xbsupport/index.html Making your first GUI Tutorial] *[http://xbnotes.freehosting.net/make_exe.html Making a Standalone Executable] *[http://www.xblite.com/ XBLite homepage] *[http://rosettacode.org/wiki/Category:XBasic Category:XBasic] Tasks implemented in XBasic on [http://rosettacode.org rosettacode.org] {{BASIC}} {{GUI builders}} {{Use dmy dates|date=March 2017}} [[Category:Articles with example BASIC code]] [[Category:BASIC compilers]] [[Category:Linux integrated development environments]] [[Category:Programming tools for Windows]] [[Category:BASIC programming language family]] [[Category:Free integrated development environments]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:BASIC
(
edit
)
Template:Cite web
(
edit
)
Template:GUI builders
(
edit
)
Template:Infobox programming language
(
edit
)
Template:More footnotes needed
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Sourceforge
(
edit
)
Template:Use dmy dates
(
edit
)