4D v13.4Structure file |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
Structure file
Structure file
The Structure file command returns the long name of the structure file for the database with which you are currently working. On Windows On Macintosh Note: In the particular case of a database that has been compiled and merged with 4D Desktop, this command returns the pathname of the application file (executable application) under Windows and Mac OS. Under Mac OS, this file is located inside the software package, in the [Contents:Mac OS] folder. This stems from a former mechanism and is kept for compatibility reasons. If you want to get the full name of the software package itself, it is preferable to use the Application file command. The technique consists of testing the application using the Application type command, then executing Structure file or Application file depending on the context. WARNING: If you call this command while running 4D Client, only the name of the structure file is returned; the long name is not returned. The optional * parameter is useful in the case of an architecture using components: it can be used to determine the structure (host or component) for which you want to get the long name depending on the context in which the command is called:
This example displays the name and the location of the structure file currently in use: If(Application type#4D Remote Mode) Note: The project methods Long name to file name and Long name to path name are listed in the section System Documents. The following example can be used to find out whether the method is called from a component: C_BOOLEAN($0) |
PROPERTIES
Product: 4D
INDEX HISTORY
Modified: 4D v11 SQL SEE ALSO
Application file |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||