Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Both sides next revision | ||
alvis:exit [2017/01/11 22:40] marcin removed | — (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 |