Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
sav08:collecting_semantics [2008/05/07 01:00] vkuncak |
sav08:collecting_semantics [2008/05/07 01:09] vkuncak |
||
---|---|---|---|
Line 30: | Line 30: | ||
**Example** | **Example** | ||
+ | |||
+ | <code> | ||
+ | i = 20; | ||
+ | x = 2; | ||
+ | while (i > 0) { | ||
+ | x = x + 4; | ||
+ | i = i - 1; | ||
+ | } | ||
+ | if (x==0) { | ||
+ | error; | ||
+ | } else { | ||
+ | y = 1000/x; | ||
+ | } | ||
+ | </code> | ||
+ |