Program Log

For questions regarding programming in the EViews programming language.

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

MOG
Posts: 21
Joined: Sun Aug 25, 2013 6:42 am

Program Log

Postby MOG » Tue Dec 02, 2014 9:41 am

Hi,

Is there a way to supress the Program Log so it is not the front window, or even better, a way to save (freeze) the Program log as an object within the workfile?

Regards
Martin

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

Re: Program Log

Postby EViews Jason » Tue Dec 02, 2014 11:43 am

Unfortunately not. This is a kludge but you could do the following:

1. create log window via a program

Code: Select all

logmode all statusline hello
2. minimize it the log window by pressing the _ button at the top right of the window
3.Run your program

To answer the second part, at the end of your program you would have to save the log to a file and then append that file to a text object. For example

Code: Select all

logsave output.txt textobject mytextobject mytextobject.append(file) output.txt

MOG
Posts: 21
Joined: Sun Aug 25, 2013 6:42 am

Re: Program Log

Postby MOG » Tue Dec 02, 2014 3:18 pm

OK, thanks!

Martin

MOG
Posts: 21
Joined: Sun Aug 25, 2013 6:42 am

Re: Program Log

Postby MOG » Wed Dec 03, 2014 3:01 am

Works like a charm,

But is there no way to close the Program Log?

Regards
Martin

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

Re: Program Log

Postby EViews Jason » Fri Dec 05, 2014 10:11 am

Unfortunately not


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests