close workfile

For questions regarding programming in the EViews programming language.

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

Posts: 174
Joined: Sun Mar 01, 2015 5:01 pm

close workfile

Postby miorinnovo » Thu Mar 07, 2019 5:54 am

I often make changes to a program and rerun it. Rather than having to close the window every time I run it I throw a

Code: Select all

close workfile
at the top of my program. The problem is when I run it the first time after opening I have to comment that line out, so just wondering if theres a way to code it so it closes the workfile when the workfile is open and doesn't otherwise.


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

Re: close workfile

Postby EViews Gareth » Thu Mar 07, 2019 8:01 am

Close @wf
Follow us on Twitter @IHSEViews

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 3 guests