statecharts
statecharts copied to clipboard
dynamic evaluation of time trigger expressions
The time trigger expression is evaluated statically when the time trigger is started. For example, if the following statement is used as a state local reaction:
every (myVar > 10 ? 1000 : 200) ms / doSomething()
the expression myVar > 10 ? 1000 : 200 is evaluated only once when the state becomes active. It should be re-evaluated after every cycle instead.