-
ML182/183
----
_____________
_
-
-
PROGRAM
NOTES:
Line 5
erases
the display
of
function key values
so
they are not
printed.
-
Line 10 activates the medium-resolution graphics screen.
Line 15 clears the screen.
Lines
20
to 80 draw the pattern on the screen.
Line 1000
is
an
"infinite
loop"
that keeps the computer occupied.
If
you
omit
this line,
or
put
an
END statement in the program, the
screen
will
display a
prompt
sign when the program
is
completed.
If
you put in a
STOP
statement, the screen
will
display
"Break
in
-
1000."
In
these
cases,
the
prompt
or break message
would
also ap-
pear on
your
printout;
line
1000
in
our
program prevents this from
-
happening.
When
you
want
to stop the program after performing the
screen
dump,
press
the
BREAK
key.
RUN the program, and when the graphics pattern appears on the
screen, simply
press
the SHIFT and Prt
Sc
keys at the same time; the
printer
will
then print the image shown
below.
When you finish,
press
the
BREAK
key to stop the program.
-
-
-
FIGURE 2
-
-
60