comparison runtime/doc/eval.txt @ 1095:4c8b90b7a94a v7.0.221

updated for version 7.0-221
author vimboss
date Tue, 27 Mar 2007 08:19:43 +0000
parents caa550fe4457
children d75027183cf4
comparison
equal deleted inserted replaced
1094:c50ed526966a 1095:4c8b90b7a94a
2539 When an error is encountered while evaluating {string} no 2539 When an error is encountered while evaluating {string} no
2540 further items in {expr} are processed. 2540 further items in {expr} are processed.
2541 2541
2542 2542
2543 finddir({name}[, {path}[, {count}]]) *finddir()* 2543 finddir({name}[, {path}[, {count}]]) *finddir()*
2544 Find directory {name} in {path}. Returns the path of the 2544 Find directory {name} in {path}. Supports both downwards and
2545 first found match. When the found directory is below the 2545 upwards recursive directory searches. See |file-searching|
2546 current directory a relative path is returned. Otherwise a 2546 for the syntax of {path}.
2547 full path is returned. 2547 Returns the path of the first found match. When the found
2548 directory is below the current directory a relative path is
2549 returned. Otherwise a full path is returned.
2548 If {path} is omitted or empty then 'path' is used. 2550 If {path} is omitted or empty then 'path' is used.
2549 If the optional {count} is given, find {count}'s occurrence of 2551 If the optional {count} is given, find {count}'s occurrence of
2550 {name} in {path} instead of the first one. 2552 {name} in {path} instead of the first one.
2551 When {count} is negative return all the matches in a |List|. 2553 When {count} is negative return all the matches in a |List|.
2552 This is quite similar to the ex-command |:find|. 2554 This is quite similar to the ex-command |:find|.