Special variables: Difference between revisions
Content deleted Content added
Line 442:
:This local variable holds the Tcl list of arguments supplied to the current procedure after all the other formal arguments have been satisfied. Note that it needs to be explicitly listed in the formal arguments ''and'' be last in the list of formal arguments to have this behavior.
The ZX Spectrum uses single letter variables names. None of these are special variables. There are a set of system variables held at a fixed memory addresses, which can be accessed via PEEK and POKE functions. The system variables and addresses are:
Line 511:
* 23697 P FLAG - More flags.
* 23698 MEMBOT - Memory area address used by the calculator
* 23728 NMIADD - The address of the users Non Maskable Interrupt service routine
*
* 23732 P-RAMT - Address of last byte of physical RAM.
<lang zxbasic>10 PRINT "The border colour is "; PEEK (23624): REM bordcr
|