Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-232
FNAMECOMPARE Procedure
(Superseded by FILENAME_COMPARE_
FNAMECOMPARE Procedure
(Superseded by FILENAME_COMPARE_
Procedure )
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Examples
Summary
The FNAMECOMPARE procedure compares two file names within a local or network
environment to determine whether these file names refer to the same file or device.
For example, one name might be a logical device number, while the other reference
might be a symbolic name. The file names compared must be in the standard 12-word
internal format that FNAMEEXPAND returns.
Syntax for C Programmers
This procedure does not have a C syntax, because it is superseded and should not be
used for new development. This procedure is supported only for compatibility with
previous software.
Syntax for TAL Programmers
Parameters
status returned value
INT
returns a value indicating the outcome of the comparison. Values for
status are:
-1 The file names do not refer to the same file.
0 The file names refer to the same file.
Note. This procedure is supported for compatibility with previous software and should not be
used for new development.
status := FNAMECOMPARE ( filename1 ! i
,filename2 ); ! i