Difference between revisions of "FILECOUNT()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to count files matching pattern | Function to count files matching pattern | ||
− | |||
==Syntax== | ==Syntax== | ||
FILECOUNT(<skeleton>) | FILECOUNT(<skeleton>) | ||
− | |||
==See Also== | ==See Also== | ||
− | [[ADIR()]], [[IFILECOUNT()]], [[FILE()]] | + | [[ADIR()]], [[IFILECOUNT()]], [[FILE()]] |
− | + | ||
==Description== | ==Description== | ||
The FILECOUNT() function returns the number of files which match the specified pattern <skeleton>. The following 'wild card' characters can be used: | The FILECOUNT() function returns the number of files which match the specified pattern <skeleton>. The following 'wild card' characters can be used: | ||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 25: | Line 21: | ||
|- | |- | ||
|} | |} | ||
− | |||
==Example== | ==Example== | ||
Line 32: | Line 27: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 06:15, 10 February 2012
Contents
Purpose
Function to count files matching pattern
Syntax
FILECOUNT(<skeleton>)
See Also
Description
The FILECOUNT() function returns the number of files which match the specified pattern <skeleton>. The following 'wild card' characters can be used:
Character | Description |
---|---|
? | Matches any one character. |
% | Matches any one character. |
* | Matches zero or more characters. |
Example
nfiles = filecount("*.dbf")