Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Both sides next revision
alvis:sbrexample [2016/07/11 10:58]
marcin
alvis:sbrexample [2021/09/23 08:51] (current)
Line 7: Line 7:
 <code> <code>
 agent S { agent S {
-  loop {                 -- 1   comments contain steps numbers+  loop {                -- 1   comments contain steps numbers
     out put;            -- 2     out put;            -- 2
   }   }
Line 15: Line 15:
   i :: Int = 0;   i :: Int = 0;
   proc (i == 0) put {    proc (i == 0) put { 
-    in put;             -- 1+    in put;              -- 1
     i = 1;               -- 2     i = 1;               -- 2
     exit;                -- 3     exit;                -- 3
Line 36: Line 36:
 {{ :alvis:sbrlts.png?500 |}} {{ :alvis:sbrlts.png?500 |}}
  
-**[[:alvis:manual|Go back]]**+