Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • has an optional (not direction for local variables) direction, 
  • can be static, 
  • has a datatype (integer, boolean, real, string, void)
  • an optional initial value
  • has a CombineOperator (-, +, *, max, min, or, and, host).

VariableDefinition:
{VariableDefinition} direction=VarDirection? (isStatic?='static')? name=ID ':'type=[types::Type|FQN] ('=' varInitialValue=Expression)? ('with' varCombineOperator=CombineOperator)?;

Examples:

Signals

4 views to implement signals:

...