This is an old revision of the document!
Exit statement
The exit statement used inside an active agent code finishes the agent activity.
The exit statement used inside a passive agent procedure finishes the procedure. In this case, The exit statement can be used only after the in/out statement that corresponds to the procedure call. See Proc statement for details.
exit;
Listing 1. Exit statement syntax