Command Reference : Function Reference : Function Reference: L
  
 
@linepath
Location of the program file currently being executed.
Syntax: @linepath
Return: string
If @linepath is being executed as a child program from a parent as part of an include or exec statement, the string will return the location of the child program.
Examples
If the program d:\myprogs\program1.prg has the line:
string y = @linepath
then y will contain “D:\MYPROGS\PROGRAM1.PRG”, no matter if program1 is run by itself, or as part of another program.
Cross-references
See also @runpath, @evpath and @temppath.