Changes in uspace/dist/src/sysel/demos/arith.sy [38aaacc2:c5cb943d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/sysel/demos/arith.sy
r38aaacc2 rc5cb943d 28 28 29 29 class ArithmeticDemo is 30 fun Main() is30 fun Main(), static is 31 31 -- Test addition, multiplication and precedence. 32 32 Builtin.Write("2*2 + 2*2 = "); … … 88 88 89 89 -- Return factorial of n. 90 fun Factorial(n : int) : int is90 fun Factorial(n : int) : int, static is 91 91 var i : int; 92 92 var val : int;
Note:
See TracChangeset
for help on using the changeset viewer.