%name = @wlookup("*_0", "series")
for %1 {%name}
smpl 2010 2085
line {%1}
next
Using a Loop and the @wlookup function to create line graphs
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
acraigpgpf
- Posts: 8
- Joined: Mon Jan 09, 2012 8:53 am
Using a Loop and the @wlookup function to create line graphs
I'm writing a program to visually inspect the results of a solved model. I want to produce line graphs of all of my aliased variables that are created when I solve my model. This is the program as it stands.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13586
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Using a Loop and the @wlookup function to create line gr
I think you're missing a question.
-
acraigpgpf
- Posts: 8
- Joined: Mon Jan 09, 2012 8:53 am
Re: Using a Loop and the @wlookup function to create line gr
Sorry. This program returns line graphs of all the variables in my workspace, not just the aliases. Any suggestions?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13586
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Using a Loop and the @wlookup function to create line gr
It should (and in my tests, it does) only loop through those variables that have a _0 at the end.
Who is online
Users browsing this forum: No registered users and 2 guests
