Ignore:
File:
1 edited

Legend:

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

    r051b3db8 rc5cb943d  
    3030        fun Main(), static is
    3131                -- Concatenate some strings.
    32                 Console.WriteLine("One-" + "two-" + "three!");
     32                Builtin.WriteLine("One-" + "two-" + "three!");
    3333
    3434                -- Extract characters from a string.
     
    3636                i = 0;
    3737                while i < 5 do
    38                         Console.WriteLine("ABCDE"[i]);
     38                        Builtin.WriteLine("ABCDE"[i]);
    3939                        i = i + 1;
    4040                end
    4141
    42                 Console.WriteLine("Abracadabra".Slice(2, 4));
     42                Builtin.WriteLine("Abracadabra".Slice(2, 4));
    4343        end
    4444end
Note: See TracChangeset for help on using the changeset viewer.