Next: Cannot use out
-parameter on out
-event, Up: Well-formedness – Data Parameters [Contents][Index]
extern
All event parameters specified in an event definition must be data parameters; in other words, they must have a data type. An example:
extern int $int$; interface event_with_bool_porameter { in void hello (bool b); behavior {on hello:{}} }
This results in the following error message:
event-with-bool-parameter.dzn:4:18: error: type mismatch: parameter `b'; expected extern, found: `bool'