base.Application methods

 

These methods are used to access the application environment and its internal information.

 

base.Application methods are applied to the currently run application. This means that you don't need to create and declare a separate object (object creation is not supported).

 

base.Application methods are invoked in the following way:

 

CALL base.Application.<Method>(<parameters>)

 

base.Application.getArgument()

returns the value of the specified argument

base.Application.getArgumentCount()

returns the total number of arguments passed to the application

base.Application.getProgramName()

retrieves the name of the current application

base.Application.getProgramDir()

retrieves the path to the executable file

base.Application.getFglDir()

retrieves the Lycia installation path specified in the LYCIA_DIR environment variable

base.Application.getResourceEntry()

retrieves the value of the parameter which name was set as the method argument to the fglprofile

base.Application.getStackTrace()

displays a formatted list of the invoked functions