EasyManua.ls Logo

Apple IIe - Page 106

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...
106
Apple
lie
Users
Handbook
100
NEXT
I
110
END
]RUN
[Ret]
1 . 1
2 4
3 9
In
the
preceding
example
,
line
10
jumps
over
the
subroutine
to
the
main
program
body
.
When
the
program
reaches
line
90,
the
GOSUB
is
executed
. The
program
branches
to
line
20.
When
the
RETURN
in
line
SO
is
reached,
program
execution
jumps
back
to
line
100.
This process
continues
until
the
FOR
counter
reaches
3.
Applesoft
GOTO
Integer
The
GOTO
statement branches
program
control
to
another
program
line
.
Configuration
GOTO
line
line
is
the
line
number
of
the
statement
to
be
branched
to.
Example
10
PRINT "FIRST"
20
GOTO
40
30
PRINT
"M
~
DDLE"
40
PRINT "LAST"
SO
END
J

Other manuals for Apple IIe

Related product manuals