Changeset ad7a6c9 in mainline for uspace/dist/src/sysel/demos/ctor.sy
- Timestamp:
- 2011-03-30T13:10:24Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4ae90f9
- Parents:
- 6e50466 (diff), d6b81941 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/sysel/demos/ctor.sy
r6e50466 rad7a6c9 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.