Returns the file name of the current program.
[ sName = ] GetProgramName ( )
The GetProgramName procedure syntax has the following parts:
Name |
Type |
Description |
sName |
BString |
Program file name |
Returns the name of the current program shortcut.
The program name also can be accessed by using the internal variable, Program with its property Name as Program.Name.
Print GetProgramName( )
! prints "EXAMPLE"
AProgram.Name, AVarProgram, GetDir, GetProgLastUpdate, GetProgramSerialNum, GetProgramUut, GetProgramVersion, GetUserName, Run