APPEXEPATH$ function

Purpose:

APPEXEPATH$ is a self-referencing function that returns the path of the executing program.

Syntax:

ExePath = APPEXEPATH$

Return Value:

  • Data type: STRING
    ExePath The path to the executing program. The last character in string is a backslash (\).

Parameters:

  • None.

BCXPATH$ function

Purpose:

BCXPATH$ returns the path to the directory containing the BC.EXE file. This path is derived from the Registry entry made during the BCX installation process and includes a trailing backslash (\).

Syntax:

RootPath = BCXPATH$

Return Value:

  • Data type: STRING
    RootPath The path to the \bin\ directory containing the BC.EXE file. The last character in this string is a backslash (\).

Parameters:

  • None.

PELLESPATH$ function

Purpose:

PELLESPATH$ returns the path to the PellesC root directory.

Syntax:

RootPath = PELLESPATH$

Return Value:

  • Data type: STRING
    RootPath The path to the PellesC root directory. The last character in this string is a backslash (\).

Parameters:

  • None.