|
Previous Top Next |
Prototype: | (FILE pF),String |
pF | Reference to a file structure. |
Returns | Returns the prefix of the file structure. |
This method retrieves the prefix of the file by getting the label of the first field in the file structure and then calling the GetFieldPrefix method in the String Class to parse out the prefix. Note that the prefix is returned without the trailing colon (:)
Example:
ITF ITFilesClass
F File,Driver(ASCII),PRE(ASCII),CREATE
Record Record
F1 String(255)
End
End
Code
Message('The file prefix is: ' & ITF.GetFilePrefix(F))
See also: