Copy/Extract objects using pagecopy

For questions regarding programming in the EViews programming language.

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

Vladimir_Yorrick
Posts: 16
Joined: Tue Oct 14, 2008 12:40 am

Copy/Extract objects using pagecopy

Postby Vladimir_Yorrick » Tue Oct 22, 2013 7:52 pm

EViews 8 (Jun 19 build)

Hi,

I have a question on copying objects to another page (by value).

This does what I want:

Code: Select all

wfcreate(page=Page1) u 100 series x = nrnd series y = nrnd pool Panel1 al ak ar store(o) Panel1 pagecopy(bylink,page=Page2) x y fetch Panel1
But can I do it without store/fetch using something like this?

Code: Select all

wfcreate(page=Page1) u 100 series x = nrnd series y = nrnd pool Panel1 al ak ar pagecopy(bylink,page=Page2) x y pageselect Page1 pagecopy(page=Page2) Panel1
I'd like to have the objects x, y and Panel1 in the new page Page2. I can't copy series and pool objects in the same line 'pagecopy(bylink,page=Page2) x y Panel1'. Just wondering if there is a nicer way without using store/fetch.

Thank you in advance.

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

Re: Copy/Extract objects using pagecopy

Postby EViews Gareth » Tue Oct 22, 2013 7:58 pm

Use the copy command.

Vladimir_Yorrick
Posts: 16
Joined: Tue Oct 14, 2008 12:40 am

Re: Copy/Extract objects using pagecopy

Postby Vladimir_Yorrick » Tue Oct 22, 2013 8:02 pm

Great, thanks Gareth.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests