Statements
ConditionOr
ConditionAnd
ConditionNor
ConditionNand
General
The following statements (represented by "..." in the examples below) are allowed in all condition subregions:
TestOr
TestAnd
TestNor
TestNand
BooleanOr
BooleanAnd
BooleanNor
BooleanNand
ConditionOr
ConditionAnd
ConditionNor
ConditionNand
The ANSI C Operators are:
|| - or
&& - and
! - not
ConditionOr Statement
CaseSelection
WhenCase
ConditionOr
...
WhenCaseSelection
...
ANSI C Code Generation:
| (... || ... || ...)
|
ConditionOr (
... ...
| ||
... ...
| ||
... ...
/ConditionOr )
ConditionAnd Statement
CaseSelection
WhenCase
ConditionAnd
...
WhenCaseSelection
...
ANSI C Code Generation:
| (... && ... && ...)
|
ConditionAnd (
... ...
| &&
... ...
| &&
... ...
/ConditionAnd )
ConditionNor Statement
CaseSelection
WhenCase
ConditionNor
...
WhenCaseSelection
...
ANSI C Code Generation:
| !(... || ... || ...)
|
ConditionNor !(
... ...
| ||
... ...
| ||
... ...
/ConditionNor )
ConditionNand Statement
CaseSelection
WhenCase
ConditionNand
...
WhenCaseSelection
...
ANSI C Code Generation:
| !(... && ... && ...)
|
ConditionNand !(
... ...
| &&
... ...
| &&
... ...
/ConditionNand )
|