User Tools

Site Tools

Navigation:  Language Reference > 13 - Built-in Functions >====== NAME (return file name) ====== Previous pageReturn to chapter overviewNext page



NAME Returns name of a file.
label The label of a FILE declaration.

The NAME procedure returns a string containing the operating system device name for the structure identified by the label. For FILE structures, if the file is OPEN, the complete DOS file specification (drive, path, name, and extension) is returned. If the FILE is closed, the contents of the NAME attribute on the FILE are returned. If there is no NAME attribute, the FILE label is returned.

Return Data Type: STRING


OpenFile = NAME(Customer)  Save the name of the open file

See Also:


name_return_file_name_.htm.txt · Last modified: 2021/04/15 15:57 by