Create a list of series objects in a work page

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

BBuser1
Posts: 19
Joined: Wed May 11, 2011 12:58 pm

Create a list of series objects in a work page

Postby BBuser1 » Tue May 17, 2011 8:44 am

Eviews 7

Is there a way to create a list of series object names for use in a loop? For example, I want to execute the same transformation on all the series in a work page but the number of series will change.

Thanks.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13583
Joined: Tue Sep 16, 2008 5:38 pm

Re: Create a list of series objects in a work page

Postby EViews Gareth » Tue May 17, 2011 8:46 am

The @wlookup command will do that.

BBuser1
Posts: 19
Joined: Wed May 11, 2011 12:58 pm

Re: Create a list of series objects in a work page

Postby BBuser1 » Tue May 17, 2011 9:19 am

Thanks.

pablete
Posts: 7
Joined: Wed Mar 02, 2011 5:10 am

Re: Create a list of series objects in a work page

Postby pablete » Wed Jun 22, 2011 2:06 am

The @wlookup command will do that.
In the documentation says:
Returns a string list of all objects in the workfile or database
Someone might want to correct that and put "in the current page" instead of workfile.

And, can it be done for the whole workfile too?


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests