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.
wfopen: Is rformat broken (v. 6)?
Moderators: EViews Gareth, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: wfopen: Is rformat broken (v. 6)?
Bug in the documentation. Replace the parenthesis with quotes:
We'll update EViews 7 so that it accepts parenthesis as well.
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
-
- Posts: 2
- Joined: Thu May 06, 2010 10:07 am
Re: wfopen: Is rformat broken (v. 6)?
Thanks for the quick and useful response!
Re: wfopen: Is rformat broken (v. 6)?
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
It works fine with the suggestion from Gareth
-
- EViews Developer
- Posts: 2672
- Joined: Wed Oct 15, 2008 9:17 am
Re: wfopen: Is rformat broken (v. 6)?
Thanks. I put this on the list of things to take a look at. Sorry.
Who is online
Users browsing this forum: No registered users and 28 guests