Versions Compared

Key

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

...

A Variable:

  • has a Direction. It can be an input, an output, or both, 
  • can be Static (optional),  
  • has a Datatype (integer, boolean, real, string, void)
  • has a Name,
  • can be initialised (optional),
  • can get a CombineOperator(optional) (-, +, *, max, min, or, and, host).

Info
iconfalse
titleVariableDefinition:

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

...