EasyManua.ls Logo

Laser 128 - Pop

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 COMMA
ND
S AND
STATEMENTS
3.44
POP
P
urpos
e:
To
change
th
e
action
of
a
RETURN
from
a
subroutine
.
Format:
POP
Comments:
POP
effectively
removes
th
e
top
address
from
the
stack
of
subroutine's
RETURN
addresses.
Example:
] I 0
GOSUB
I
00
] 20
END
] I
00
GOSUB
200
] 110
PRINT
"THIS
ST
A
TEMENT
NEGLECTED"
] 120
RETURN
]
200
POP
]
210
RETURN
]
RUN
Program
flows
from
statement
IO
, 100, 200, 210, 20.
Statement
110
is
skipped
due
to
pop
action
.
II-77

Table of Contents