EasyManua.ls Logo

Tandy 1000 - Page 303

Default Icon
337 pages
Print Icon
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...
Basic
PEEK(memory loeation)
Returns a byte from
memory location. Memory location
must be in
the range -32768 to 65535. The value returned is an integer in the
range
0
to 255.
A
=
PEEK
(&H5A00>
PE N(number)
Returns the light pen’s coordinates.
Number
is
a
number in the range
1
to
9
that tells
BASIC
what to
return.
0
1
2
7
8
9
Returns a
-1
if pen button has been pressed since last poll.
Returns a
0
if not.
Returns the
x
coordinate (horizontal) where the pen was last
activated.
Returns the y coordinate (vertical) where the pen was last
activated.
Returns a
-1
if
the pen button is pressed. Returns a
0
if it not.
Returns the last known valid
x
coordinate (horizontal).
Returns the last known valid y coordinate (vertical).
Returns the character row position where the pen was last
activated.
Returns the character column position where the pen was last
activated.
Returns the last known character row position.
Returns the last known character column position.
A
=
PEN(1)
PEN action
Turns on, turns off, or temporarily halts light pen event trapping.
PEN
ON
enables event trapping.
PEN
OFF
disables event trapping.
PEN STOP temporarily suspends event trapping.
52
Tandy
1000

Table of Contents

Other manuals for Tandy 1000

Related product manuals