![]() |
![]() |
55 |
![]() |
Syntax Summary
|
Use Terminates
the
sequence of statements
which
make up the body of
a
FOR loop.
Syntax
NEXT
[loopcountert)[,
if
Ioopcounter2))[,
if
loopcounter3))...
OFF
(see Chapter 3)
represent the
Boolean value ‘false’.
(See
also FALSE.)
ON
(see Chapter 3)
Use
ON
is
a function which always retums —1.
(See
also TRUE.)
ON ERROR
(see Chapter 16)
Use ON ERROR
specifies
what action
isto
betaken in
the
event of an error.
Syntax ON ERROR STOP
or
ON ERROR GOTO
location
ar
ON
ERROR EXIT
place
where
place is
MODULE,
SOB or FUNCTION, as
appropriate.
ON...GOSUB
(see Chapter 6)
BASIC
2
plus compatible.
Syntax ON
condition
GOSUB
[locaUont)
[,
[location2))
[,
[locafion3))
where condition is
an
integer-expression
locattont, locafion2, Iocatton3,
..,
etc are
locations.
|
BASIC 2 PIus: User Guide & Quick Reference
55
|
![]() |
![]() |
55 |
![]() |