From 66c05e56d8a7d6dfadd8baa85c6d882bb2d670da Mon Sep 17 00:00:00 2001 From: Jochen Kupperschmidt Date: Fri, 2 Jan 2015 13:47:33 +0100 Subject: [PATCH] Tutorial: Fixed slices example code. This is likely a remainder of the name change from "Nimrod" to "Nim". --- doc/tut1.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tut1.txt b/doc/tut1.txt index 4c32fa0ae1..e961ea11b7 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.'