Guardian Procedure Calls Reference Manual
FNAMECOMPARE Procedure (Superseded by FILENAME_COMPARE_
Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Considerations
Examples
Summary
NOTE: This procedure is supported for compatibility with previous software and should not be
used for new development.
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
status := FNAMECOMPARE ( filename1 ! i
,filename2 ); ! i
Parameters
filename1
input
INT:ref:12
is the first file name that is compared. Each file name array can contain either a local or a
network file name in 12-word internal format. For the definitions of file names, see Appendix D:
File Names and Process Identifiers.
filename2
input
INT:ref:12
is the second file name that is compared.
FNAMECOMPARE Procedure (Superseded by FILENAME_COMPARE_ Procedure) 615