System Variables
PGN Current Program Pathname
String System Variable
 
Contents String, name of currently loaded program.
 
Description This system variable contains the name of the currently loaded program, complete with its full operating system pathname.


*Note* There is one exception to the above. If you have the 'OP' (original program) system parameter set to ON, PGN returns only the program name (i.e., without an expanded pathname).


 
See Also 'OP' System Parameter.
 
Example 0100 PRINT PGN
0110 SET_PARAM 'OP'
0120 PRINT PGN
-:run C:\PVX\MANUAL\TST\TST_EGS TST_EGS