EasyManua.ls Logo

Apple IIe - Page 97

Apple IIe
320 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...
Apple
BASIC
Reference
Guide
97
Example
--
Integer
BASIC
DIM
A(10),
N$(5)
In
the
previous
example,
the
DIM
statement
defines
10
spaces
for
the
variable
A,
and
N$(5)
defines
one
string
of
length
5.
DRAW
Applesoft
o
Integer
The
DRAW
statement
plots
a shape
on
the
high-resolution
graphics page.
Configuration
DRAW
shapeno
[AT
X,
Y]
shapeno
is
an
integer
between
0
and
255.
X
and
Ya
re
integers
for
the
position
of
the
shape.
X
must
lie
between
0
and
279.
Y
must
lie
between
0
and
191.
If
AT
X,
Y
is
not
given,
the
shape
will
be
plotted
at
the
last
X,
Y
position
designated
.
The
color,
rotation,
and
size
of
the
shape
must
have
been
previously
defined
.
Example
10
REM
SET
UP
SCREEN
20
TEXT:HGR
30
FOR
X
=
7936
TO
7946
40
READ
V:REM
READ
IN
SHAPE
50
POKE X,V:REM POKE
SHAPE
INTO
TABLE
60
NEXT X
70
REM
TELL
WHERE SHAPE
IS
AT
80
POKE 232,0: POKE
233,31
90
HCOLOR
= 3
program
co
ntinued
on
the
ne
xt page

Other manuals for Apple IIe

Related product manuals