EasyManuals Logo

Laser 128 User Manual

Laser 128
255 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #166 background imageLoading...
Page #166 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Laser 128 and is the answer not in the manual?

Laser 128 Specifications

General IconGeneral
ProcessorMOS Technology 6502
RAM128 KB
ROM32 KB
CompatibilityApple II
Graphics280×192
SoundBuilt-in speaker
PortsComposite video
Operating SystemApple DOS 3.3, ProDOS
Storage5.25" floppy disk drive (optional second drive)