Declaration Part
Following code needs to be added into suitable part of prolog, ideally to variables declaration part. The snippet defines variables that are used to communicate results of the process to its caller.
...
Snippets marked with * are mandatory and should be used in messaging enabled processes.