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

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
X <>= Y
Here,
FALSE
intermediate results; see Intermediate Assignments, page 253.
Boolean Is Less Than ‘
The Boolean operator Is Less Than compares two operands and returns
value is less than the second value, or returns
in both variable and constant expressions. Example:
X := Y < Z
The above example compares the value of
if
IF (Y < 32)
Here, the Is Less Than operator returns
Is Less Than has an assignment form,
operand and the result destination. For example,
X <= Y
Here,
FALSE
intermediate results; see Intermediate Assignments, page 253.
Boolean Is Greater Than ‘
The Boolean operator Is Greater Than compares two operands and returns
first value is greater than the second value, or returns
can be used in both variable and constant expressions. Example:
X := Y > Z
The above example compares the value of
if
This operator is often used in conditional expressions, such as in the following example.
Page 276 · Propeller Manual v1.0
This operator is often used in conditional expressions, such as in the following example.
Y
Y
is less than the value of
is greater than the value of
X
X
(0). The assignment form of Is Not Equal may also be used within expressions for
(0). The assignment form of Is Less Than may also be used within expressions for
is compared with
is compared with
'Short form of X := X <> Y
'Short form of X := X < Y
Y
Y
<
, and if they are not equal,
, and if
Z
’, ‘
, or
>
Z
<=
’, ‘
, or
FALSE
>=
X
FALSE
is less than
(0) if
TRUE
<=
(0) if
, that uses the variable to its left as both the first
Y
Y
if
Y
with the value of
with the value of
FALSE
is equal to or greater than the value of
Y
Y
is less than 32.
Y
is equal to or less than the value of
,
X
(0), otherwise. Is Less Than can be used
X
is set to
FALSE
is set to
(0), otherwise. Is Greater Than
Z
Z
TRUE
TRUE
and sets
and sets
(-1), otherwise
(-1), otherwise
X
X
TRUE
to either:
to either:
TRUE
(-1) if the first
(-1) if the
X
X
TRUE
TRUE
Z
Z
is set to
is set to
.
.
(-1)
(-1)

Related parts for 122-32000