XBasic
This article includes a list of general references but lacks sufficient corresponding inline citations. (January 2013) |
| XBasic | |
|---|---|
| Family | BASIC |
| Developers | Max Reason, Eddie Penninkhof[1] |
| First appeared | late 1980s |
| Stable release | 6.3.26
/ 2018 |
| Preview release | 6.3.26
/ 2018 |
| Platform | i386 |
| OS | Windows, Linux |
| License | GNU LGPL |
| Filename extensions | x |
| Website | xbasic |
| 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.[2]
Characteristics
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
- 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
- ^ What am I required to know when writing in XBasic?[permanent dead link], XBasic Facts
- ^ "Xbwlteam". GitHub.
External links
- https://groups.io/g/MaxReasonsxBasic
- https://github.com/orgs/xbwlteam/repositories
- XBasic on SourceForge
- Making your first GUI Tutorial Archived 7 December 2003 at the Wayback Machine
- Making a Standalone Executable Archived 16 March 2004 at the Wayback Machine
- Category:XBasic Tasks implemented in XBasic on rosettacode.org
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.