Difference between revisions of "FILECOUNT()"

From Lianjapedia
Jump to: navigation, search
Line 29: Line 29:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Lianja VFP Extensions]]
 +
[[Category:VFP Function Extensions]]

Revision as of 07:23, 10 December 2012

Purpose

Function to count files matching pattern

Syntax

FILECOUNT(<skeleton>)

See Also

ADIR(), IFILECOUNT(), FILE()

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")