fgl_getresource() returns the value of an FGLPROFILE resource. If the entry is not defined in fglprofile, the function returns NULL.
CALL fgl_getresource( resname )
Where resname is a CHAR(n) datatype variable that defines the name of the FGLPROFILE resource. It returns the resource value.
DEFINE def CHAR(100)
LET def = fgl_getresource("fglrun.defaults")
When you specify a file name, be careful with its case.
UNIX is case-sensitive, so it will treat files which names come in different cases as separate files.