Spool objects

For questions regarding programming in the EViews programming language.

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

DBel2012
Posts: 69
Joined: Sun Sep 30, 2012 5:37 am

Spool objects

Postby DBel2012 » Mon Aug 19, 2013 4:34 am

Good morning,

My workfile has 3 pages named : MonthData, QuarterData, and AnnualData

I'm running a program that creates a Spool object in each of the 3 pages, analyzes the data in each of the 3 pages, constructs tables and graphics that are save in each of the 3 spool objects.

Instead of having to use 3 spool objects (one in each page) could I create only one spool object?

If so, how can I do that?

Thanks!

Danny

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

Re: Spool objects

Postby EViews Gareth » Mon Aug 19, 2013 7:42 am

The only way to have them all in the same spool is to have them all in the same page. Probably the best thing to do is to create a new page, then copy your three spool objects over to that new page, then put them all into one big spool.

DBel2012
Posts: 69
Joined: Sun Sep 30, 2012 5:37 am

Re: Spool objects

Postby DBel2012 » Mon Aug 19, 2013 7:51 am

Gareth,

Good idea.

Can this be done while running my program ? like using the copy command (refering to the page and then to the object)?

Thanks!

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

Re: Spool objects

Postby EViews Gareth » Mon Aug 19, 2013 8:05 am

Yep.
Use Pagecreate to create the new page. Then use Copy to copy the spools over to the new page.

DBel2012
Posts: 69
Joined: Sun Sep 30, 2012 5:37 am

Re: Spool objects

Postby DBel2012 » Mon Aug 19, 2013 8:10 am

Many thanks Gareth. Your help is very much appreciated.

Danny


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests