diff options
author | Jochen Kupperschmidt <homework@nwsnet.de> | 2015-01-02 13:47:33 +0100 |
---|---|---|
committer | Jochen Kupperschmidt <homework@nwsnet.de> | 2015-01-02 13:47:33 +0100 |
commit | 66c05e56d8a7d6dfadd8baa85c6d882bb2d670da (patch) | |
tree | 4b78a2132897a0d62cd9e4f26df46264a85bd15e | |
parent | 5023a9043858941d311c253fd1b62017080367be (diff) | |
download | Nim-66c05e56d8a7d6dfadd8baa85c6d882bb2d670da.tar.gz |
Tutorial: Fixed slices example code.
This is likely a remainder of the name change from "Nimrod" to "Nim".
-rw-r--r-- | doc/tut1.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tut1.txt b/doc/tut1.txt index 4c32fa0ae..e961ea11b 100644 --- a/doc/tut1.txt +++ b/doc/tut1.txt @@ -1323,7 +1323,7 @@ define operators which accept TSlice objects to define ranges. a = "Nim is a progamming language" b = "Slices are useless." - echo a[10..15] # --> 'a prog' + echo a[7..12] # --> 'a prog' b[11.. -2] = "useful" echo b # --> 'Slices are useful.' |