base.Application.getProgramDir

Returns the directory path of the current program.

Syntax

base.Application.getProgramDir()
  RETURNS STRING

Usage

This method provides the directory path where the program file used by fglrun is located.

The directory path is system-dependent.

For example, when starting fglrun myapp.42m in the /opt/app/bin directory, or when starting the program with fglrun /tmp/app/bin/myapp.42m, the method will return "/tmp/app/bin/".