Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-192
FILENAME_MATCH_ Procedure
•
FILENAME_MATCH_ does not use the process or system context (as defaulting
would require), so it can be used in environments where the PFS (process file
segment) is not available.
Examples
result := FILENAME_MATCH_ ( filename:flen, pattern:plen );
The following table shows some possible combinations of input parameters and the
corresponding values of
status for the foregoing call to FILENAME_MATCH_:
Related Programming Manual
For programming information about the FILENAME_MATCH_ procedure, refer to the
Guardian Programmer’s Guide.
filename pattern status generic-set
cab.ride C*B.* 2 (match) N/A
cab c*b.* 1 (partial match) N/A
bable c*b.* 0 (no match) -1 (before set)
c c*b.* 0 (no match) 0 (part of set)
czz.ride c*b.* 0 (no match) 0 (part of set)
d c*b.* 0 (no match) +1 (after set)