pagesave crash

For questions regarding programming in the EViews programming language.

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

Posts: 44
Joined: Wed Aug 02, 2017 6:07 am

pagesave crash

Postby BT454 » Thu Apr 18, 2019 10:59 am

This code keeps crashing on the first loop, telling me that the table referenced in the range option does not exist.
I'm sure I'm missing something simple here.

for %x res com pow veh ind plpf
pagesave(t=excel) C:\warem32\demand_export.xlsx range=%x @keep state us pl nag @freq m @smpl 2001 %endhist

it also crashes if i put curly braces around %x, and if I declare %x as a temporary string and reference that instead.
Any help is appreciated.

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

Re: pagesave crash

Postby EViews Gareth » Thu Apr 18, 2019 1:17 pm

When you say “crash”, do you mean EViews crashes (exits), or an error occurs etc?

Also, which version/build-date of EViews? (Help->About EViews).
Follow us on Twitter @IHSEViews

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 6 guests