"Unexpected end of file" error

For questions regarding programming in the EViews programming language.

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

cdewolfe
Posts: 4
Joined: Wed Jul 28, 2010 7:31 am

"Unexpected end of file" error

Postby cdewolfe » Fri Aug 20, 2010 8:28 am

Hi,
My program is getting stuck here and I'm not sure why. It was working fine yesterday:

read(b2, s=Volumes) "W:\Business Analysis\1_Personal\Chris\Economic Indicators\Volumes.xls" 3

It's the proper path, upper left data cell, sheet, # of series. Should be working.

I get an "Unexpected end of file" error. What does this mean?

Thanks for the help

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

Re: "Unexpected end of file" error

Postby EViews Gareth » Fri Aug 20, 2010 8:30 am

It means something went wrong.

In general you shouldn't be using the READ command. Trying using WFOPEN or IMPORT instead.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests