Hi all!
Thank you in advance for your help.
I run several forecast check procedures that utilize a chart creating loop. Since upgrading to Eviews12 it crashes eviews.
Here is the code, with the loop that creates the charts towards the bottom. I have tried running the similar loop in several prgs that have worked previously. Any thoughts? In general, since upgrading to 12 I've experienced Eviews crashing multiple times a day, when trying to run a variety of different prgs. Perhaps a reinstall is in order?
As always, thank you for your help!
Bob
'regional check routine
!i = @pageexist("reg_check")
if (!i =1) then
pagedelete reg_check
endif
'set up wfpage
pagecreate(page=reg_check) m 2010 2050
wfopen days
copy days::monthly\daysm usl48_stdata::reg_check\daysm
wfclose days
copy history\inval reg_check\inval
copy history\sfy* reg_check\fy*
copy history\fym* reg_check\fym*
copy history\invnag*_1 reg_check\invnag*_1
copy history\demcap* reg_check\demcap*
%fend = @datestr(@dateval(invnagap_1.@last),"dd/mm/yyyy")
%startchart = @datestr(@dateadd(@dateval(inval.@last),-5,"yy"),"dd/mm/yyyy")
%fstart = @datestr(@dateadd(@dateval(inval.@last),1,"mm"),"dd/mm/yyyy")
%regs = "nagne nagap nagmw nagse naggc nagpn nagrm nagmc nagca nagds"
%charts = @wcross("inv",%regs)
%charts = @wcross(%charts,"comp")
for %x {%charts}
!i = @isobject(%x)
if (!i = 1) then
delete %x
endif
next
for %x {%regs}
smpl %startchart %fend
graph inv{%x}comp inv{%x}_1 fyinv{%x} fymninv{%x} fymxinv{%x} demcap{%x}
inv{%x}comp.setupdate(m)
inv{%x}comp.addtext(t) {%x}
inv{%x}comp.setelem(1) lcolor(red) lwidth(0.9)
inv{%x}comp.setelem(1) lcolor(blue) lwidth(0.75)
show inv{%x}comp
next
smpl %fstart %fend
Eviews crashing in chart loop
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- EViews Developer
- Posts: 870
- Joined: Tue Sep 16, 2008 3:50 pm
Re: Eviews crashing in chart loop
It will be fixed in the next patch.
Re: Eviews crashing in chart loop
Thank you very much! Have a happy new year!
Re: Eviews crashing in chart loop
This is fixed. Thank you so much!
Who is online
Users browsing this forum: No registered users and 22 guests