EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 264

Radio Shack TRS-80 Model 4
418 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
POKE
POS
Statement
POKE memory location, data byte
Writes data byte into memory location.
Both memory location and data byte must
be
integers. Memory
location must be
in
the range - 32768 to 65535.
POKE is the complementary statement of PEEK. The argument to
PEEK
is
a memory location from which a byte is to be read.
PEEK and POKE are useful for storing data efficiently, loading
assembly-language subroutines, and passing arguments (or results) to
and from assembly-language subroutines.
For more information, see the Technical Reference Manual.
Example
10
POKE
&H5A00t
&HFF
I POS(number)
Returns the position of the cursor.
Number
is
a dummy argument.
POS returns a number from 1 to
80 indicating the current
cursor-column position
on
the display.
Example
PRINT TAB(40)
POS(0)
2-138
Function
I

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals