Category:ZX Spectrum Basic
ZX Spectrum Basic
This programming language may be used to instruct a computer to perform a task.
Listed below are all of the tasks on Rosetta Code which have been solved using ZX Spectrum Basic.
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)