Share via


SYS(2000) - File Name Wildcard Match

Returns the name of the first file in alphabetic order by file name and extension, that matches a file name skeleton.

SYS(2000, Skeleton [, 1])

Return Values

Character

Parameters

  • Skeleton
    Specifies the file name skeleton. The file skeleton can contain the wildcards ? and *.
  • 1
    Returns the name of the next matching file.

Remarks

The empty string is returned if a matching file can't be found.

Example

? SYS(2000,'FOX.*')
? SYS(2000,'FOX.*',1)

See Also

LOCFILE( ) | SYS( ) Functions Overview