fgl_getresource()
Returns the value of an FGLPROFILE entry.
Syntax
fgl_getresource(
name STRING )
RETURNS STRING
- name is the FGLPROFILE entry name to be read.
Usage
The fgl_getresource()
function 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 function 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.
fgl_getresource()
is a global built-in function, consider using the new base.Application.getResourceEntry()
method instead.