FILENAME |
filename contains the paths of access to all open tables.
[S]filename(255) (101) Char
# List of open tables and their abbreviationsFor I = 1 To [S]adxmto
Infbox [S]filename(I)-[S]fileabre(I)
Next I
filename is an Adonix system variable of the character string type that contains the name of the tables opened via the File (or Local File) or Trbegin instruction. The variable is sized to 101, and filename(0) is initialized with the empty string.
You may open a maximum number of tables equal to the value used by the adxmto system variable, which cannot exceed 100.
To say that a table is open does not necessarily mean that it is accessible. This means that it was opened by Adonix at the time of a File or Local File instruction and it is still in the memory. It could be "closed logically" by a File command, since Adonix reserves the selection as per its requirements to delete a saved OBJect when it is not used. To access a table loaded in the memory but "closed logically," you will have to declare it again via File or Local File.
The order in which the tables are placed in the filename variable is not significant.
|
Error |
Description |
|
EREADONLY (62) |
Attempt to modify the variable |
FILE - TRBEGIN - FILEABRE - CLOSE - FILPATH - ADXMTO
CONTENTS
|
|