Function AppName() Foundation

Determines the name of the EXE file

Syntax
AppName( [<lFullQualifiedName>] ) --> cExeFileName
Parameters
<lFullQualifiedName>
The default value for <lFullQualifiedName> is .F. (false). If it is set to .T. (true) the function returns the name of the EXE file including drive and path specification.
Return

The function returns the name of the EXE file as a character string.

Description

AppName() determines the name of the EXE file at runtime of a program. If .T. (true) is passed to the function it detects the exact location from where the application is started.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.