EasyManua.ls Logo

Apple IIe - Page 133

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
133
Applesoft
POL
Integer
The
PDL
function
returns
the
value
of
one
of
the
four
different
game
controllers
(paddles).
Configuration
PDL
(argument)
argument
is
a
numeric
constant
or
numeric
expression. The
numeric
constant
must
be
an
integer
in
Integer
BASIC. The value
of
the
argument
must
lie
between
0 and
255.
The value
of
the
argument
corresponds
to
the
game
controller.
For
example,
X =
PDL(O)
returns
the
position
of
game
controller
number
zero. The
number
returned
will
be
beteen
0 and
255.
If
the
value
of
the
argument
is
between
4 and 255,
the
PDL
function
will
return
an
unpredictable
number.
Using
an
argument
between
4
and
255 can also
produce
unwanted
side
effects
which
affect
program
execution.
PEEK
Example
PRINT
PDL(O)
120
Applesoft
Integer
The
PEEK
function
returns
the
contents
of
the
memory
address
given in
the
argument.
Configuration
PEEK
(argument)

Other manuals for Apple IIe

Related product manuals