wfopen: Is rformat broken (v. 6)?

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

ericfruits
Posts: 2
Joined: Thu May 06, 2010 10:07 am

wfopen: Is rformat broken (v. 6)?

Postby ericfruits » Thu May 06, 2010 10:16 am

I tried using a WFOPEN command similar to the command in the help file:

wfopen(type=raw,rectype=fixed) c:\data.txt rformat=(GDP 1-2 INV 3 CONS 6-9)

However I receive the following error message:

Syntax error: unexpected character '(' in rformat specification

Consequently, the rformat specification cannot work.

Thanks.

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

Re: wfopen: Is rformat broken (v. 6)?

Postby EViews Gareth » Thu May 06, 2010 10:50 am

Bug in the documentation. Replace the parenthesis with quotes:

Code: Select all

wfopen(type=raw,rectype=fixed) c:\data.txt rformat="GDP 1-2 INV 3 CONS 6-9"



We'll update EViews 7 so that it accepts parenthesis as well.
Follow us on Twitter @IHSEViews

ericfruits
Posts: 2
Joined: Thu May 06, 2010 10:07 am

Re: wfopen: Is rformat broken (v. 6)?

Postby ericfruits » Thu May 06, 2010 12:57 pm

Thanks for the quick and useful response!

zezza
Posts: 13
Joined: Fri May 28, 2010 5:27 am

Re: wfopen: Is rformat broken (v. 6)?

Postby zezza » Thu Jan 02, 2014 8:16 am

I noticed today that the bug in the documentation is still there... rformat will not accept brackets.
It works fine with the suggestion from Gareth

EViews Glenn
EViews Developer
Posts: 2616
Joined: Wed Oct 15, 2008 9:17 am

Re: wfopen: Is rformat broken (v. 6)?

Postby EViews Glenn » Mon Jan 06, 2014 12:25 pm

Thanks. I put this on the list of things to take a look at. Sorry.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest