Page 1 of 1

Create series list from workfile

Posted: Tue Dec 15, 2009 11:03 am
by schtono
Hi there,

I wonder if it is possible to create a string containing the names of all series objects in the current workfile (using EViews 6).

I read on the forum that the way to go is to create a group using the wildcard "*" and then iterating through all series, but I already fail at creating said group with a wildcard.

Any help is highly appreciated!

All the best
Philipp

Re: Create series list from workfile

Posted: Tue Dec 15, 2009 11:06 am
by EViews Gareth
In EViews 6 the only thing you can do is this:

Code: Select all

group g *
Which will create a group object with all of the series in the workfile in it.

Then you can loop through the names of the series with:

Code: Select all

for !i=1 to g.@count %name = g.@seriesname(!i) next

Re: Create series list from workfile

Posted: Tue Dec 15, 2009 11:37 am
by schtono
Hi Gareth,

thanks a lot, that was exactly what I was looking for.

All the best
Philipp

Re: Create series list from workfile

Posted: Tue May 02, 2017 11:46 am
by bcchen
hey guys,
I wonder if there is any updated code for this same issue under EView9?

Thanks!
BC

Re: Create series list from workfile

Posted: Tue May 02, 2017 12:10 pm
by EViews Gareth
@wlookup