Difference between revisions of "FILECOUNT()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
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()]], [[MENU FILES]]
+
[[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>
  
 
==Products==
 
Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Revision as of 06:15, 10 February 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")