All opened workfile names

For questions regarding programming in the EViews programming language.

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

tchaithonov
Posts: 168
Joined: Mon Apr 13, 2009 7:39 am
Location: New York City

All opened workfile names

Postby tchaithonov » Wed Apr 27, 2011 8:26 am

Hi Guys, how are things?

I wonder if there is a workfile function equivalent to @pagelist, which reports all page names in the active workfile in a string. I am trying to check if a workfile with a specific file name is opened (not necessarily active) so that when I run a program two times I may have the choice of having both results stored into the same workfile. Would you please let me know? Thanks.

Tchaithonov

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

Re: All opened workfile names

Postby EViews Gareth » Wed Apr 27, 2011 8:37 am

I don't believe there is, no.

I'm not quite sure I follow what you're trying to do though.

tchaithonov
Posts: 168
Joined: Mon Apr 13, 2009 7:39 am
Location: New York City

Re: All opened workfile names

Postby tchaithonov » Wed Apr 27, 2011 9:14 am

For @pagelist, what you get from it is the list of all pages in the active workfile. I want to get a list of all workfiles opened in the same EViews session.

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

Re: All opened workfile names

Postby EViews Gareth » Wed Apr 27, 2011 9:27 am

Yeah, I understand that part - I just didn't get why :D

tchaithonov
Posts: 168
Joined: Mon Apr 13, 2009 7:39 am
Location: New York City

Re: All opened workfile names

Postby tchaithonov » Wed Apr 27, 2011 3:18 pm

Well then, if you have to run an add-in several times to get all specifications into the same file, then you can do it rather efficiently.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests