Next: , Previous: , Up: Imperative Statements   [Contents][Index]


10.4.4.7 reply

Define the value to be returned at the end of an on with a typed trigger.

reply ::= "reply" "(" expression ")" ";"

For example:

on hello: reply (true);

Note: Reply does not mean “return”, it merely defines the value that is returned when the on has finished executing. reply does not have to be the final imperative statement, however it must occur exactly once on every path through every sequence statements.