Copy a list?

For requesting general information about EViews, sharing your own tips and tricks, and information on EViews training or guides.

Moderators: EViews Gareth, EViews Moderator

mboll
Posts: 7
Joined: Thu Feb 23, 2023 5:47 am

Copy a list?

Postby mboll » Mon Feb 17, 2025 1:22 am

I want to copy a list of series from pne page to another within a wf but i don't understand how to.

This i my code, what am I doing wrong?

%serier = @WLookup("*", "series")
@WDrop(%serier, %SerierLFB)
Smpl 2015 2023
Copy ATemp\%serier a\

I make a list called %Series which contain all the series in a page called Atemp. Although I want to drop out some of the series defined in %seriesLFB.
Then I only want to copy a specified timeframe defined with the smpl.
And then I want to copy %serier to the empty page a.
But it does not work. Please help?!

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

Re: Copy a list?

Postby EViews Gareth » Mon Feb 17, 2025 9:21 am

Copying doesn't support samples, so you can't copy only a subset like that.

It also doesn't support lists, so you'll have to loop through:

Code: Select all

for %j {%serier} Copy ATemp\{%j} a\ next


Return to “General Information and Tips and Tricks”

Who is online

Users browsing this forum: No registered users and 2 guests