An event can have a value. This function returns the value of the specified event.
If the event does not have a return value then it gets evaluated as
void
.
Previously the syntax for this mechanism was “valueof(event)” but this access has limited capabilities and will be deprecated in the future.
myVar = myEvent.value
Casts a variable. The following example casts a literal from integer to real.
myReal = 12 as real
Returns true if the specified state is active and false otherwise. The specified state can be a regular state or a final state.
myBool = active(StateA)
Performs a state machine run-to-completion step without raising any event.
entry / triggerWithoutEvent