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" width=100%
+
{| class="wikitable" width="100%"
!width=30%|Character||Description
+
!width="30%"|Character||Description
 
|-
 
|-
 
|?||Matches any one character.
 
|?||Matches any one character.

Latest revision as of 12:22, 1 February 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")