summaryrefslogtreecommitdiffstats
path: root/runtime/doc/eval.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-05-04 21:54:08 +0000
committerBram Moolenaar <Bram@vim.org>2006-05-04 21:54:08 +0000
commit14716817266007c373d5cc6ee2294416e3132be6 (patch)
tree17456d1f860cb89befc89c43a62e1459b0cec0c0 /runtime/doc/eval.txt
parentfdc9f4904ea162e899df7859e7755c0253b47870 (diff)
updated for version 7.0g03
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r--runtime/doc/eval.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index ff2d3812ec..3696c8aa81 100644
--- 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 03
+*eval.txt* For Vim version 7.0g. Last change: 2006 May 04
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2313,6 +2313,8 @@ exists({expr}) The result is a Number, which is non-zero if {expr} is
3 matches several user commands
To check for a supported command
always check the return value to be 2.
+ :2match The |:2match| command.
+ :3match The |:3match| command.
#event autocommand defined for this event
#event#pattern autocommand defined for this event and
pattern (the pattern is taken
@@ -2683,9 +2685,9 @@ getchar([expr]) *getchar()*
If [expr] is omitted, wait until a character is available.
If [expr] is 0, only get a character when one is available.
If [expr] is 1, only check if a character is available, it is
- not consumed. If a normal character is
- available, it is returned, otherwise a
- non-zero value is returned.
+ not consumed. If one is available a non-zero
+ number is returned. For a one-byte character
+ it is the character itself.
If a normal character available, it is returned as a Number.
Use nr2char() to convert it to a String.
The returned value is zero if no character is available.