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

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
IF
Test condition(s) and execute a block of code if valid (positive logic).
((PUB ┆ PRI))
Explanation
IF
executes a block of code.
commands, one or more
sophisticated conditional structures.
IF
following optional
until a valid condition line is found, then the associated ElseIfStatement(s), or
ElseIfNotStatement(s), block is executed. The optional ElseStatement(s) block is executed if
no previous valid condition lines are found.
A “valid” condition is one that evaluates to
ELSEIF
Page 220 · Propeller Manual v1.0
IF
〈 ELSEIF
〈 ELSEIFNOT
〈 ELSE
is one of the three major conditional commands (
tests Condition(s) and, if true, executes IfStatement(s). If Condition(s) is false, the
– Spin Language Reference
IfStatement(s)
ElseIfStatement(s)
ElseIfNotStatement(s)
ElseStatement(s)
Condition(s)
) or evaluates to
Condition(s)
IfStatement(s)
Condition(s) is true.
ElseIfStatement(s)
the previous Condition(s) are invalid and the
ElseIfNotStatement(s)
all the previous Condition(s) are invalid and the
ElseStatement(s)
the previous Condition(s) are invalid.
Condition(s)
Condition(s)
ELSEIF
is one or more Boolean expressions to test.
is a block of one or more lines of code to execute when the
FALSE
is an optional block of one or more lines of code to execute when all
is an optional block of one or more lines of code to execute when all
Condition(s), and/or
is an optional block of one or more lines of code to execute when
ELSEIFNOT
for a negative conditional statement (
IF
can optionally be combined with one or more
commands, and/or an
TRUE
ELSEIFNOT
for a positive conditional statement (
ELSEIF
IF
ELSEIFNOT
,
IFNOT
Condition(s), are tested, in order,
’s Condition(s) is true.
, and
’s Condition(s) is false.
ELSEIFNOT
ELSE
CASE
command to form
) that conditionally
).
ELSEIF
IF
IF
or
’s

Related parts for 122-32000