Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (D-F)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
5-66
FNAMECOMPARE 
(Superseded by FILENAME_COMPARE_) Compares two file names within a local or 
network environment to determine whether these file names refer to the same file or 
device.
FNAMEEXPAND 
(Superseded by FILENAME_SCAN_ and FILENAME_RESOLVE_) Expands a partial 
file name from the compacted external form to the standard 12-word internal form.
length, INT returned value
internal-name, INT:ref:12 input
external-name, STRING:ref:26 or STRING:ref:34 output
status := FNAMECOMPARE ( filename1
 ,filename2 );
status, INT returned value
-1 (CCL) The file names do not refer to the same file.
0 (CCE) The file names refer to the same file.
1 (CCG) The file names refer to the same volume name, device name, or process 
name on the same system; however, words [4:11] are not the same.
filename1, INT:ref:12 input
filename2, INT:ref:12 input
length := FNAMEEXPAND ( external-filename
 ,internal-filename
 ,default-names );
length, INT returned value
external-filename, STRING:ref:26 or STRING:ref:35 input
internal-filename, INT:ref:12 output
default-names, INT:ref:8 input










