EasyManua.ls Logo

Laser 128 - Goto

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...
3.17 GOTO
Purpose:
BASIC COMMANDS AND
STATEMENTS
To
direct
the
program
flow
to
another
part
of
the
BASIC
program.
Format:
GOTO linenumber
Comments:
GOTO
takes
your
BASIC
program
out
of
its
normal
sequence
-
one
line
following
the
other
and
continues
execution
at
a
point
either
many
lines
ahead,
or
man
y
lines
behind
the
line
containing
the
GOTO.
If
the
line
the
GOTO
refers
to
is a
REMark
or
DAT
A
line
-
which
is
not
executable,
then
the
instruction
executed
is
the
next
executable
line
after
linenumber.
GOTO
can
be
very
handy
in
debugging
programs.
You
can
use
it
in
direct
mode
to
enter
a
program
at
a
certain
point,
rather
than
having
the
program
run
through
from
its
beg
inning.
II-46

Table of Contents