XBasic is one of the variants of the BASIC programming language that Max Reason developed in the late 1980s for the Motorola 88000 processor running unix . It was ported to Windows and Linux in the early 1990s, and since 1999 it has been available under open source under the LGPL license along with a runtime library . Max Reason stopped supporting and developing the system. She is currently curated by Eddie Penninkhof.
| Xbasic | |
|---|---|
Screenshot : IDE XBasic | |
| Type of | integrated development environment |
| Developer | Max Reason, Eddie Penninkhof |
| operating system | Linux , Windows |
| Latest version | 6.2.3 ( October 27, 2002 ) |
| Test version | 6.3.22 (May 30, 2014 ) |
| License | LGPL |
| Website | xbasic.org |
Features
The authors tried to give the integrated development environment (IDE) a look quite close to the QuickBasic interface.
By default, programs in XBasic are not compiled , but interpreted . In the “run” menu there is an “assembly” item, by selecting which, you can get an assembler program compiled from your Basic code.
The debugger in XBasic supports standard features: breakpoints , viewing the contents of memory and processor registers , etc.
The XBasic graphics library is built on the use of simple functions that work with graphic primitives and controls. XBasic also has a math library that includes elementary functions of real numbers ( sine, cosine , logarithm , root , etc.) and similar functions for complex numbers .
Also includes GuiDesigner GUI Designer.
Code Example
'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
Literature
- Basic XBasic , Vadim Stankevich, Computer News, Software, No. 7, 2007
- John Perr. BASIC programming on Unix . LinuxFocus (January 2003). Date of appeal March 15, 2015.