base.Application.getResourceEntry
Returns the value of a FGLPROFILE entry.
Syntax
base.Application.getResourceEntry(
name STRING )
RETURNS STRING
- name is the name of a FGLPROFILE entry.
Usage
The base.Application.getResourceEntry()
method reads the FGLPROFILE file(s) and returns the value defined for the
entry passed as parameter.
If the entry does not exist in the configuration file, the method returns NULL.
Important: FGLPROFILE entry names are not case sensitive.
If multiple entries are defined with the same name (this can happen especially when several profile files are defined in the FGLPROFILE environment variable), the last entry found wins.
The fgl_getresource()
built-in function is equivalent to
base.Application.getResouceEntry()
.
Example
MAIN
DISPLAY base.Application.getResourceEntry("mycompany.params.logmode")
END MAIN