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

Parameters

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

Return Value

Character

Remarks

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

Example

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

See Also

Reference

LOCFILE( ) Function
SYS( ) Functions Overview