Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Both sides next revision
alvis:exit [2016/07/11 09:54]
marcin
— (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 [[:alvis:proc|Proc statement]] for details. 
- 
-<code> 
-exit; 
-</code> 
- 
-**Listing 1. ** Exit statement syntax