Special variables: Difference between revisions

Content deleted Content added
GP and PARI
{{header|ZX Spectrum Basic}}
Line 347:
;args
: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.
 
=== {{header|ZX Spectrum Basic}} ===
 
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:
 
<lang zxbasic>10 PRINT "The border colour is "; PEEK (23624): REM bordcr
20 PRINT "The ramtop address is "; PEEK (23730) + 256 * PEEK (23731): REM ramtop
30 POKE 23609,50: REM set keyboard pip to 50</lang>