Is there an analogous code of @filepath to return a .prg filename?
Thanks!
Return .prg Filename
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Return .prg Filename
No.
I can't see any situation where you would need to know the name of the program that is running?
I can't see any situation where you would need to know the name of the program that is running?
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Return .prg Filename
It's like the mfilename command in Matlab. You can use it to put documentation into output files of what program produced it.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Return .prg Filename
But at the time you write the program, you know what the program is called. There is no dynamic creation of programs in EViews.
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Return .prg Filename
I won't argue that it's important, but...
I often modify a program and save it under a new name. It's nice if the name can self-documenting as I tend to forget to change the variable containing the file name in the program.
I often modify a program and save it under a new name. It's nice if the name can self-documenting as I tend to forget to change the variable containing the file name in the program.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Return .prg Filename
Fair enough
Who is online
Users browsing this forum: No registered users and 2 guests
