XBasic
   HOME

TheInfoList



OR:

XBasic is a variant of the BASIC programming language that was developed in the late 1980s for the
Motorola 88000 The 88000 (m88k for short) is a RISC instruction set architecture developed by Motorola during the 1980s. The Motorola 88100, MC88100 arrived on the market in 1988, some two years after the competing SPARC and MIPS architecture, MIPS. Due to the ...
CPU and
Unix Unix (; trademarked as UNIX) is a family of multitasking, multiuser computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, an ...
by Max Reason. In the early 1990s it was ported to
Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for ser ...
and
Linux Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, w ...
, and since 1999 it has been available as
open source software Open-source software (OSS) is computer software that is released under a license in which the copyright holder grants users the rights to use, study, change, and distribute the software and its source code to anyone and for any purpose. Open ...
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
integer An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the languag ...
s as well as 32- and 64-bit
floating point In computing, floating-point arithmetic (FP) is arithmetic that represents real numbers approximately, using an integer with a fixed precision, called the significand, scaled by an integer exponent of a fixed base. For example, 12.345 can b ...
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 SourceForge is a web service that offers software consumers a centralized online location to control and manage open-source software projects and research business software. It provides source code repository hosting, bug tracking, mirroring ...
.


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

' 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


External links

*https://groups.io/g/MaxReasonsxBasic * *
documentation, links and resourcesXBLite homepageXBasic
Tasks implemented in XBasic o
rosettacode.org
{{Use dmy dates, date=March 2017 Articles with example BASIC code BASIC compilers Linux programming tools Programming tools for Windows BASIC programming language family