EasyManua.ls Logo

Laser 128 - Xdraw

Laser 128
255 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 COMMANDS AND
STATEMENTS
3.67 XDRAW
Purpose
:
To
draw
or
to
erase
a
defined
shape
.
Format:
XDRAW shape
no
.
At
x, y
Comments:
This
command
allows you
to
draw
a
shape
if
it
is
not
already
on
screen,
and
erase
it
if
it
is.
Example:
10
DRAW 1
AT
100, 100
20
FOR
D = 1
TO
1000
:
NEXT
D :
REM
DELAY
30
XDRA
W 1
AT
100, 100
Assuming you
have
defined
shape
1,
this
program
will
first
draw
it
at
co-ordinate
s (100,
100),
then
wait
for
a
while
and
finally
erase
the
drawn
shape
.
11-103

Table of Contents