Returns the file name of the program module.
[ sFileName = ] Object.FileName
The FileName property syntax has the following parts:
Name |
Type |
Description |
Object |
AProgram |
AProgram object |
sFileName |
BString |
A string specifying the program module file name. |
The return value contains the file path as entered by the user in design time. No conversion to absolute file path or replacement of path variables used is done.
The following statement in the OnInit event of the active program module notes the initialization of the program in the log:
print "Initializing Program "; Program.Name; ", file = "; Program.FileName