@linepath documentation

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

paues
Posts: 201
Joined: Fri Apr 15, 2011 7:16 am
Location: Stockholm, Sweden

@linepath documentation

Postby paues » Thu Aug 14, 2025 2:32 am

The documentation for @linepath says:
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.
But y will actually contain “D:\MYPROGS\”.

paues
Posts: 201
Joined: Fri Apr 15, 2011 7:16 am
Location: Stockholm, Sweden

Re: @linepath documentation

Postby paues » Thu Aug 14, 2025 2:35 am

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.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests