Saving a PRG programmatically

For questions regarding programming in the EViews programming language.

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

gargajo
Posts: 6
Joined: Wed Jun 17, 2015 5:10 pm

Saving a PRG programmatically

Postby gargajo » Mon Jul 20, 2015 8:33 am

Hiya

Maybe an idiotic question, but is there a way to programmatically save a PRG (possibly with encryption). In other words

- You open a PRG (double click on it or using the menu)
- You run it
- Once it runs (does whatever) it saves itself before ending

Saving operations "seem" to be programatically restricted only to workfiles/data but not to PRGs (saving a PRG can only be done from the save/save as menu buttons in the PRG scripting window). Is that correct?

Thanks

G

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

Re: Saving a PRG programmatically

Postby EViews Gareth » Mon Jul 20, 2015 8:49 am

There is no way to save a program programmatically.

gargajo
Posts: 6
Joined: Wed Jun 17, 2015 5:10 pm

Re: Saving a PRG programmatically

Postby gargajo » Mon Jul 20, 2015 9:43 am

Thanks for the quick reply Gareth. It's interesting that although you can save a PRG from within its scripting screen, there is no equivalent SAVE command to do so programmatically; that would be potentially a good addition for a future release. Anyway, it's what I suspected. Thanks again.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests