Difference between revisions of "FILECOUNT()"

From Recital Documentation Wiki
Jump to: navigation, search
(No difference)

Revision as of 15:21, 23 March 2009

Class

Disk and File Utilities


Purpose

Function to count files matching pattern


Syntax

FILECOUNT(<skeleton>)


See Also

ADIR(), IFILECOUNT(), FILE(), MENU FILES


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


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer