EasyManua.ls Logo

Laser 128 - End

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 COMMANDS AND STATEMENTS
3.12 END
Purpose:
Finishes
program
execution
and
returns
you
to
command
level.
Format:
END
Comments:
This
command
may
be
placed
anywhere
in
your
program
-
though
it
may
not
be
all
that
useful
as
the
first
statement
of
your
program.
Example:
END
is
the
most
orderly
way
to
stop
your
BASIC
program
when
it
has
done
what
you
require.
This
is because,
unlike
the
similar
command
STOP,
it
does
not
cause
a
BREAK
mesage
to
be
displayed.
However,
END
is
not
essential
at
the
end
of
a BASIC
program
-
you
will
be
returned
to
command
level
when
it
finishes
anyway.
] 60
IF
FIN
< 0
THEN
GOTO
80
] 70
END
] 80
In
this
example,
if
FIN
is less
than
zero,
then
the
program
branches
to
line
number
80.
II-37

Table of Contents