Category:ZX Spectrum Basic: Difference between revisions
Content added Content deleted
No edit summary |
(Line numbers must be no longer than four digits) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 8: | Line 8: | ||
* Language is interpreted (but third party compiler is available). |
* Language is interpreted (but third party compiler is available). |
||
* Line numbers are required |
* Line numbers are required |
||
* Line numbers must be no longer than four digits |
|||
* No [[named locations]] |
* No [[named locations]] |
||
* Some [[Terminal Control]] capabilities |
* Some [[Terminal Control]] capabilities |
||
Line 20: | Line 21: | ||
* No direct support for error handling, but error handling can be achieved using assembly language by changing the [[error handler]] address |
* No direct support for error handling, but error handling can be achieved using assembly language by changing the [[error handler]] address |
||
* Support for streams when using [[Interface 1]], but no support for [[freefile]] |
* Support for streams when using [[Interface 1]], but no support for [[freefile]] |
||
* Can read keystrokes using |
* Can read keystrokes using <code>INKEY$</code> |
||
* No support for multiple line |
* No support for multiple line <code>IF</code> conditionals |
||
* No conditional compilation directives |
* No conditional compilation directives |
||
* no [[hashbang]] mechanism |
* no [[hashbang]] mechanism |
||
* Variables have to be defined before use |
* Variables have to be defined before use |
||
* The GO TO command has a space in the middle |
|||
* |
* VAL function interprets expressions |
||
* INPUT function can interpret expressions (unless LINE INPUT is used) |
|||
{{language programming paradigm|procedural}} |
{{language programming paradigm|procedural}} |
Latest revision as of 19:48, 28 March 2011
![Language](http://static.miraheze.org/rosettacodewiki/thumb/2/27/Rcode-button-language-crushed.png/64px-Rcode-button-language-crushed.png)
This programming language may be used to instruct a computer to perform a task.
Official website |
---|
Execution method: | Interpreted |
---|---|
See Also: |
|
ZX Spectrum Basic is an implementation of BASIC.
Other implementations of BASIC.
ZX Spectrum Basic is the BASIC built into the ROM of the ZX Spectrum Computer.
Features
- Language is interpreted (but third party compiler is available).
- Line numbers are required
- Line numbers must be no longer than four digits
- No named locations
- Some Terminal Control capabilities
- Supports colour
- Support for direct display graphics
- Support for sound via the speaker
- No support for scoped variables
- No support for structured variables
- No command line parameters
- No support for environment
- Supports output tho the line printer via the lprint command
- No direct support for error handling, but error handling can be achieved using assembly language by changing the error handler address
- Support for streams when using Interface 1, but no support for freefile
- Can read keystrokes using
INKEY$
- No support for multiple line
IF
conditionals - No conditional compilation directives
- no hashbang mechanism
- Variables have to be defined before use
- The GO TO command has a space in the middle
- VAL function interprets expressions
- INPUT function can interpret expressions (unless LINE INPUT is used)
Subcategories
This category has the following 3 subcategories, out of 3 total.
@
- ZX Spectrum Basic Implementations (empty)
- ZX Spectrum Basic User (4 P)
Pages in category "ZX Spectrum Basic"
The following 16 pages are in this category, out of 216 total.
(previous page) (next page)