Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionBoth sides next revision | ||
alvis:exit [2013/11/27 06:19] marcin created | — (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 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 [[: | ||
- | |||
- | < | ||
- | exit; | ||
- | </ | ||
- | |||
- | **Listing 1. ** Exit statement syntax |