Changeset 051b3db8 in mainline for uspace/dist/src/sysel/demos/ctor.sy
- Timestamp:
- 2011-03-16T23:23:21Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 306061a
- Parents:
- 406d514
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/sysel/demos/ctor.sy
r406d514 r051b3db8 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 … … 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
Note:
See TracChangeset
for help on using the changeset viewer.