EasyManua.ls Logo

Apple IIe - Page 138

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...
138 Apple
Ile Users
Handbook
Si
nee
the
POP
statement
was
executed
,
the
program
is
no
longer
in
the
subroutine
.
If
another
RETURN statement
is
executed,
the
program
will
not
return
to
line
30,
where
the
subroutine
was
called.
The
program
will
return
to
the
line
of
the
previous
GOSUB
statement. Since
there
is
no
other
GOSUB
statement
in
this
program,
a RETURN statement
would
cause
an
error.
A POP
statement
can
also
be used
to
make
the
program
ignore
the
previous
FOR
statement.
When
a
POP
statement
is
executed
within
a FOR/NEXT
loop
,
the
loop
will
not
be repeated.
However
,
an
error
occurs
if
a
NEXT
statement
is
executed
for
that
loop.
POS
Applesoft
o
Integer
The
POS
function
returns
the
current
horizontal
position
of
the
cursor.
Configuration
POS
(argument)
argument
can be any
legal
Applesoft
constant
or
expression.
The
number
returned
will
be
an
integer
from
0
to
39.
The
leftmost
position
is
0.
Example
]HTAB
7:
PRINT
POS(O)
6
]PRINT TAB(7) ;
POS(O)
6
]PRINT SPC(7);
POS(O)
7

Other manuals for Apple IIe

Related product manuals