Hi, I have a simple question:
Suppose I want to pass on the value of a program argument to a string variable, how could I do that?
for Example
I am running a program called "diag" with an argument "CPI" (there are many other candidates, so I need to have a program variable). In the program, I want to make this explicit instead of keeping on using {%0}, so I have an extra line
%name={%0}
Hoping that I can pass on the string value of "CPI" to %name.
After typing in "run diag CPI", Eviews gives me an error message saying that this is illegal. Any idea why this is so? Thanks!
Passing on program argument to a string var
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Passing on program argument to a string var
Thanks, Gareth. You are always the last resort
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Who is online
Users browsing this forum: No registered users and 30 guests