4D v16.3Structure file |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
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 Volume Desktop, this command returns the pathname of the application file (executable application) under Windows and OS X. Under OS X, 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 when using 4D in remote mode, 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)
See also
_o_DATA SEGMENT LIST
|
PROPERTIES
Product: 4D HISTORY
Modified: 4D v11 SQL ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||