Changeset 37f527b in mainline for uspace/dist/sysel/string.sy
- Timestamp:
- 2010-03-26T21:55:23Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4204ad9
- Parents:
- b535aeb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/sysel/string.sy
rb535aeb r37f527b 31 31 -- Concatenate some strings. 32 32 Builtin.WriteLine("One-" + "two-" + "three!"); 33 34 -- Extract characters from a string. 35 var i : int; 36 i = 0; 37 while i < 5 do 38 Builtin.WriteLine("ABCDE"[i]); 39 i = i + 1; 40 end 33 41 end 34 42 end
Note:
See TracChangeset
for help on using the changeset viewer.