EasyManua.ls Logo

Radio Shack TRS-80 - Chapter 16: Reading Data; DATA and READ Statements

Radio Shack TRS-80
169 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...
Computer
Graphics
Operation
Manual
-----------
TRS-BO
@
----------
SETXY
Sets
Coordinates
SETXY
sets
and
holds
both
current
and
previous
X-
and
Y-coordinates.
When a
new
coordinate
is
given,
it
is
designated
as
the
"current
coordinate"
and
the
last
coordinate
is
designated
as
the
"previous
coordinate."
If
a
new
coordinate
is
specified,
the
"previous
coordinate"
is
lost
and
the
"current
coordinate"
becomes
the
"previous
coordinate."
Example
CALL
SETXY(I~~,I~~)
~.
Sample
Program
(see
LINE)
SETXYR
Sets
Relative
Coordinates
SETXYR
sets
the
current
(~,y)
coordinates
relative
to
the
previously
set
(~,y)
coordinates.
For
example,
if
the
"current"
coordinates
are
(l~~,l~~),
CALL
SETXYR(I~,I~)
will
set
the
"current"
coordinates
to
(ll~,ll~);
the
"previous"
coordinates
will
then
be
(l~~,l~~).
Example
CALL
SETXYR(3~,3~)
---------lIadlelllaell---------
-l~9-

Other manuals for Radio Shack TRS-80

Related product manuals