PEEK
Abbreviation: P <SHIFT+E>
TYPE: Integer Function
FORMAT: PEEK(<numeric>)
Action: Returns an integer in the range of 0 to 255, which is
read from a memory location. The <numeric> expression is
a memory location which must be in the range of 0 to 65535. If
it isn't then the BASIC error message ?ILLEGAL QUANTITY occurs.
EXAMPLES of PEEK Function:
10 PRINT PEEK(53280) AND 15 (Returns value of screen border
color)
5 A%=PEEK(45)+PEEK(46)*256 (Returns address of BASIC variable
table)
|