Difference between revisions of "FILECOUNT()"

From Lianjapedia
Jump to: navigation, search
Line 11: Line 11:
 
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" width=100%
!Character||Description
+
!width=30%|Character||Description
 
|-
 
|-
 
|?||Matches any one character.
 
|?||Matches any one character.

Revision as of 10:33, 22 January 2013

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