FILECOUNT()

From Lianjapedia
Jump to: navigation, search

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