~jkavalik/cdfs/main

« back to all changes in this revision

Viewing changes to uspace/dist/src/sysel/demos/ctor.sy

merge mainline
update async in cdfs
add READ TOC support in ata_bd, libblock and cdfs

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
                var a : A;
32
32
 
33
33
                a = new A(1);
34
 
                Builtin.Write("a.v = ");
35
 
                Builtin.WriteLine(a.v);
 
34
                Console.Write("a.v = ");
 
35
                Console.WriteLine(a.v);
36
36
        end
37
37
end
38
38
 
40
40
        var v : int;
41
41
 
42
42
        new(i : int) is
43
 
                Builtin.WriteLine("A.new()");
 
43
                Console.WriteLine("A.new()");
44
44
                v = i;
45
45
        end
46
46
end