extract from spool without pop-ups?

For questions regarding programming in the EViews programming language.

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

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

extract from spool without pop-ups?

Postby tvonbrasch » Tue Jan 22, 2019 5:31 am

Hi

when using the command

Code: Select all

spool_name.extract(name) object_name


in a program, the table being copied pops up in the EViews window. Is it possible to extract a copy of a specified spool object without the part being copied popping up in the EViews window? If not, can you please add such an option?


Thomas

EViews Jason
EViews Developer
Posts: 870
Joined: Tue Sep 16, 2008 3:50 pm

Re: extract from spool without pop-ups?

Postby EViews Jason » Tue Jan 22, 2019 9:38 am

I am not seeing the pop-up. What are you attempting to extract? Is it equation output, a spreadsheet, or other?

Secondly, what is being asked in the pop-up?

OR.....

Do you want to keep the newly created object from being displayed?

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

Re: extract from spool without pop-ups?

Postby tvonbrasch » Tue Jan 22, 2019 10:23 pm

Sorry for being imprecise,

Yes, I would like to keep the newly created object from being displayed. Is there a way of doing that?
Thomas

EViews Jason
EViews Developer
Posts: 870
Joined: Tue Sep 16, 2008 3:50 pm

Re: extract from spool without pop-ups?

Postby EViews Jason » Mon Jan 28, 2019 10:42 am

We are working on adding an optional command that will stop the window from appearing. As soon as it makes the next patch, we will post the syntax.

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

Re: extract from spool without pop-ups?

Postby tvonbrasch » Wed Jan 30, 2019 10:58 pm

Great, thanks!

EViews Jason
EViews Developer
Posts: 870
Joined: Tue Sep 16, 2008 3:50 pm

Re: extract from spool without pop-ups?

Postby EViews Jason » Fri Feb 01, 2019 9:18 am

The patch containing the fix has been released.

For future versions of EViews 11 and on the default will be to not show the extracted object. For EViews 10, however, you can now use the hide option. For example,

Code: Select all

myspool.extract(hide, obj1) untitled01  'this will prevent the newly created object obj1 from being displayed


With the addition of this new option, this does mean you can no longer create an object name 'hide'.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 33 guests