Tutorial: Fixed slices example code.

This is likely a remainder of the name change from "Nimrod" to "Nim".
This commit is contained in:
Jochen Kupperschmidt
2015-01-02 13:47:33 +01:00
parent 5023a90438
commit 66c05e56d8

View File

@@ -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.'