122-32000 Parallax Inc, 122-32000 Datasheet - Page 291

MANUAL PROPELLER

122-32000

Manufacturer Part Number
122-32000
Description
MANUAL PROPELLER
Manufacturer
Parallax Inc
Datasheets

Specifications of 122-32000

Accessory Type
Manual
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
Propeller Education (PE) Kit
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
QUIT
Exit from
((PUB ┆ PRI))
Explanation
QUIT
loop to terminate immediately.
Using QUIT
QUIT
terminate the loop prematurely.
methods created elsewhere that each return Boolean values:
The above code toggles a status light on P0 and performs other tasks while the
returns
the
The
QUIT
repeat while DoMore
IF
QUIT
is one of two commands (
!outa[0]
<do something>
if !SystemOkay
<more code here>
is typically used as an exception case, in a conditional statement, in
statement executes the
TRUE
quit
command can only be used within a
REPEAT
. However, if the
loop immediately.
QUIT
NEXT
SystemOkay
command which causes the loop to terminate immediately.
For example, assume that
and
'Repeat while more to do
'Toggle status light
'Perform some task
'If system failure, exit
'Perform other tasks
QUIT
method returns
4: Spin Language Reference –
) that affect
REPEAT
loop; an error will occur otherwise.
REPEAT
FALSE
Propeller Manual v1.0 · Page 291
DoMore
loops.
part-way through the loop,
QUIT
and
REPEAT
causes a
SystemOkay
DoMore
loops to
method
REPEAT
are

Related parts for 122-32000