List of programs executed from a program-file

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

List of programs executed from a program-file

Postby tvonbrasch » Thu Nov 11, 2021 3:50 am

Hi

We have a main program file that calls a myriad other program files, which again calls other sub programs etc. For example, consider the structure:

mainprogram.prg
- exec .\SubA.prg
- - exec .\subAsub1.prg
- - - exec .\subAsub1sub_a.prg
- - exec .\subAsub2.prg
- exec .\SubB.prg
- - exec .\subBsub1.prg
- exec .\SubC.prg
- - exec .\subCsub1.prg

Is there a way in EViews to get a list (text file) of all the subprograms that are executed (either directly or indirectly) by the program file mainprogram.prg ?

If not, is this a functionality you could add?

Thomas

EViews Steve
EViews Developer
Posts: 788
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: List of programs executed from a program-file

Postby EViews Steve » Fri Nov 12, 2021 2:42 pm

Since we don't fully pre-parse the entire program before we run, we can only provide this information after we've completed a run. I might be able to add a new LogMode option to generate this information while running so it's easy to generate. I'll look into it.

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

Re: List of programs executed from a program-file

Postby tvonbrasch » Sat Nov 13, 2021 9:46 am

that would be great! Highly appreciated.
thanks :-)


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 15 guests