source: mainline/uspace/dist/sysel/count.sy@ fa36f29

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since fa36f29 was fa36f29, checked in by Jiri Svoboda <jiri@…>, 16 years ago

Update SBI to rev. 75.

  • Property mode set to 100644
File size: 185 bytes
Line 
1class CountDemo is
2 fun Count(a : int; b : int) is
3 var i : int;
4
5 i = a;
6 while i < b do
7 Builtin.WriteLine(i);
8 i = i + 1;
9 end
10
11 end
12
13 fun Main() is
14 Count(0, 10);
15 end
16end
Note: See TracBrowser for help on using the repository browser.