diff options
-rw-r--r-- | runtime/doc/eval.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 5dbef81748..c478a217c1 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -916,6 +916,11 @@ just above, except that indexes out of range cause an error. Examples: > Using expr8[expr1] or expr8[expr1a : expr1b] on a |Funcref| results in an error. +Watch out for confusion between a namespace and a variable followed by a colon +for a sublist: > + mylist[n:] " uses variable n + mylist[s:] " uses namespace s:, error! + expr8.name entry in a |Dictionary| *expr-entry* |