referencing objects in another page

For questions regarding programming in the EViews programming language.

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

startz
Non-normality and collinearity are NOT problems!
Posts: 3775
Joined: Wed Sep 17, 2008 2:25 pm

referencing objects in another page

Postby startz » Mon Mar 14, 2011 10:05 am

Is it possible to reference objects in another page? I want to use one page to monte carlo data, and keep the results in another page.
Something like

Code: Select all

pagecreate montePage 10000
vector(10000) means
pagecreate dataPage 100
for !i=1 to 10000
series x=nrnd
montePage::means(!i) = @mean(x) `this being the line in real question
next
pageselect montepage

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

Re: referencing objects in another page

Postby EViews Gareth » Mon Mar 14, 2011 10:33 am

Not inline, no. You'll have to create a link.
Follow us on Twitter @IHSEViews

startz
Non-normality and collinearity are NOT problems!
Posts: 3775
Joined: Wed Sep 17, 2008 2:25 pm

Re: referencing objects in another page

Postby startz » Mon Mar 14, 2011 10:40 am

I'm not sure how to create a link, given that one page is 100 long and the other is 10000 long. Or, since the object is a vector, am I overthinking this? Could I ask for an example, cysylltwch?

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

Re: referencing objects in another page

Postby EViews Gareth » Mon Mar 14, 2011 10:43 am

Sorry, didn't notice you were using a vector. Yeah, in that case you're out of luck. Just have to copy the vector over to your actual page.
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 31 guests