Error counter

For questions regarding programming in the EViews programming language.

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

javiersan
Posts: 184
Joined: Mon Jan 19, 2009 8:18 am

Error counter

Postby javiersan » Thu Mar 17, 2011 10:12 am

Hello,

Say I try to open a file that is on the web but the address I have is incorrect and this produces an error. However, the error counter @errorcount does not increase. Why is this? How can I account for this error in my counter?

Thanks,

Javier

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

Re: Error counter

Postby EViews Gareth » Thu Mar 17, 2011 10:25 am

Not sure I can replicate that:

Code: Select all

setmaxerrs 100 create u 100 scalar ecount1 = @errorcount wfopen(type=html) http://www.eviews.com/file.html scalar ecount2 = @errorcount


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest