comparison runtime/doc/eval.txt @ 864:bc620d6bdf06

updated for version 7.0g03
author vimboss
date Thu, 04 May 2006 21:54:08 +0000
parents 99305c4c42d4
children a5677b7ce858
comparison
equal deleted inserted replaced
863:dbc6b23eff3e 864:bc620d6bdf06
1 *eval.txt* For Vim version 7.0g. Last change: 2006 May 03 1 *eval.txt* For Vim version 7.0g. Last change: 2006 May 04
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
2311 1 for match with start of a command 2311 1 for match with start of a command
2312 2 full match with a command 2312 2 full match with a command
2313 3 matches several user commands 2313 3 matches several user commands
2314 To check for a supported command 2314 To check for a supported command
2315 always check the return value to be 2. 2315 always check the return value to be 2.
2316 :2match The |:2match| command.
2317 :3match The |:3match| command.
2316 #event autocommand defined for this event 2318 #event autocommand defined for this event
2317 #event#pattern autocommand defined for this event and 2319 #event#pattern autocommand defined for this event and
2318 pattern (the pattern is taken 2320 pattern (the pattern is taken
2319 literally and compared to the 2321 literally and compared to the
2320 autocommand patterns character by 2322 autocommand patterns character by
2681 returned with the encoded character. For a special key it's a 2683 returned with the encoded character. For a special key it's a
2682 sequence of bytes starting with 0x80 (decimal: 128). 2684 sequence of bytes starting with 0x80 (decimal: 128).
2683 If [expr] is omitted, wait until a character is available. 2685 If [expr] is omitted, wait until a character is available.
2684 If [expr] is 0, only get a character when one is available. 2686 If [expr] is 0, only get a character when one is available.
2685 If [expr] is 1, only check if a character is available, it is 2687 If [expr] is 1, only check if a character is available, it is
2686 not consumed. If a normal character is 2688 not consumed. If one is available a non-zero
2687 available, it is returned, otherwise a 2689 number is returned. For a one-byte character
2688 non-zero value is returned. 2690 it is the character itself.
2689 If a normal character available, it is returned as a Number. 2691 If a normal character available, it is returned as a Number.
2690 Use nr2char() to convert it to a String. 2692 Use nr2char() to convert it to a String.
2691 The returned value is zero if no character is available. 2693 The returned value is zero if no character is available.
2692 The returned value is a string of characters for special keys 2694 The returned value is a string of characters for special keys
2693 and when a modifier (shift, control, alt) was used. 2695 and when a modifier (shift, control, alt) was used.