Page History
...
- input boolean A;
- output boolean A;
- input output boolean A; // double direction (input and output))
- input static boolean A; //static variable
- boolean A; //local, without direction
- input integer I=10; //the variable I is initialised
- input integer I with '+' //the combine operator is '+'
Declarations
Within State Scopes there can be declarations of variables (and signals)?.
A Variable:
...
...
VariableDefinition:
{VariableDefinition} direction=VarDirection? (isStatic?='static')? type=[types::Type|FQN] name=ID ('=' varInitialValue=Expression)? ('with' varCombineOperator=CombineOperator)?;
Examples:
Signal Declarations
Signals
4 views to implement signals:
...
Overview
Content Tools