But y will actually contain “D:\MYPROGS\”.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.
@linepath documentation
Moderators: EViews Gareth, EViews Moderator
@linepath documentation
The documentation for @linepath says:
Re: @linepath documentation
The documentation for @runpath makes the same mistake.
As a sidenote, how do I get the paths including the file name in both cases? That is, for both the parent and the child program.
As a sidenote, how do I get the paths including the file name in both cases? That is, for both the parent and the child program.
Who is online
Users browsing this forum: No registered users and 2 guests
