base.Application methods

Table 1. Class methods
Name Description
base.Application.getArgument(
   index INTEGER )
  RETURNING result STRING
Returns the command line argument by position.
base.Application.getArgumentCount()
  RETURNING result INTEGER
Returns the total number of command line arguments.
base.Application.getProgramDir()
  RETURNING result STRING
Returns the directory path of the current program.
base.Application.getProgramName()
  RETURNING result STRING
Returns the name of the current program.
base.Application.getFglDir()
  RETURNING result STRING
Returns the path to the FGLDIR installation directory.
base.Application.getResourceEntry(
   entry STRING )
  RETURNING result STRING
Returns the value of an FGLPROFILE entry.
base.Application.getStackTrace()
  RETURNING result STRING
Returns the function call stack trace.