Mercurial > vim
diff runtime/doc/eval.txt @ 859:99305c4c42d4
updated for version 7.0g02
author | vimboss |
---|---|
date | Wed, 03 May 2006 21:26:49 +0000 |
parents | b933657f7c9d |
children | bc620d6bdf06 |
line wrap: on
line diff
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.0g. Last change: 2006 May 01 +*eval.txt* For Vim version 7.0g. Last change: 2006 May 03 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2345,9 +2345,14 @@ exists({expr}) The result is a Number, w < There must be no space between the symbol (&/$/*/#) and the name. Trailing characters that can't be part of the name are often - ignored, but don't depend on it. - Note that the argument must be a string, not the name of the - variable itself! For example: > + ignored, but don't depend on it, it may change in the future! + Example: > + exists("*strftime()") +< This currently works, but it should really be: > + exists("*strftime") + +< Note that the argument must be a string, not the name of the + variable itself. For example: > exists(bufcount) < This doesn't check for existence of the "bufcount" variable, but gets the value of "bufcount", and checks if that exists.