Ignore:
Timestamp:
2010-04-23T21:41:10Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f4f866c
Parents:
074444f
Message:

Update SBI to rev. 207.

File:
1 edited

Legend:

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

    r074444f r38aaacc2  
    3333        prop X : int is
    3434                get is
    35                         Builtin.WriteLine("Getting value of X which is");
     35                        Builtin.Write("Getting value of X which is ");
    3636                        Builtin.WriteLine(x);
    3737                        return x;
     
    3939
    4040                set value is
    41                         Builtin.WriteLine("Setting value of X to");
     41                        Builtin.Write("Setting value of X to ");
    4242                        Builtin.WriteLine(value);
    4343                        x = value;
     
    5151        prop self[index : int] : int is
    5252                get is
    53                         Builtin.WriteLine("Getting property with index ");
    54                         Builtin.WriteLine(index);
    55                         Builtin.WriteLine("which is");
     53                        Builtin.Write("Getting property with index ");
     54                        Builtin.Write(index);
     55                        Builtin.Write(" which is ");
    5656                        Builtin.WriteLine(iprops[index]);
    5757
     
    6060
    6161                set value is
    62                         Builtin.WriteLine("Setting property with index ");
    63                         Builtin.WriteLine(index);
    64                         Builtin.WriteLine("to");
     62                        Builtin.Write("Setting property with index ");
     63                        Builtin.Write(index);
     64                        Builtin.Write(" to ");
    6565                        Builtin.WriteLine(value);
    6666
     
    110110                i = a.X;
    111111
    112                 Builtin.WriteLine("Main(): Got ");
     112                Builtin.Write("Main(): Got ");
    113113                Builtin.WriteLine(i);
    114114
     
    121121                i = a[1];
    122122
    123                 Builtin.WriteLine("Main(): Got ");
     123                Builtin.Write("Main(): Got ");
    124124                Builtin.WriteLine(i);
    125125
Note: See TracChangeset for help on using the changeset viewer.