Ignore:
Timestamp:
2010-06-09T19:01:08Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1113c9e
Parents:
051bc69a
Message:

Update SBI to rev. 291.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/dist/src/sysel/demos/arith.sy

    r051bc69a rc5cb943d  
    2828
    2929class ArithmeticDemo is
    30         fun Main() is
     30        fun Main(), static is
    3131                -- Test addition, multiplication and precedence.
    3232                Builtin.Write("2*2 + 2*2 = ");
     
    8888
    8989        -- Return factorial of n.
    90         fun Factorial(n : int) : int is
     90        fun Factorial(n : int) : int, static is
    9191                var i : int;
    9292                var val : int;
Note: See TracChangeset for help on using the changeset viewer.