WfOpen ASCII file

For questions regarding programming in the EViews programming language.

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

paues
Posts: 218
Joined: Fri Apr 15, 2011 7:16 am
Location: Stockholm, Sweden

WfOpen ASCII file

Postby paues » Mon Apr 23, 2012 7:12 am

I am trying to open the attached ASCII file using the command wfopen. However, I cannot figure out what arguments I should provide for EViews not to show the dialog box "Text Read - Step 1 of 1". Is it possible? What I have now is

Code: Select all

wfopen(type=text) AKU_SR_text.txt colhead=1 delim=tab
Attachments
AKU_SR_text.txt
Monthly data
(1.22 MiB) Downloaded 329 times

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

WfOpen ASCII file

Postby EViews Gareth » Mon Apr 23, 2012 8:43 am

In a program, or via the command line?

paues
Posts: 218
Joined: Fri Apr 15, 2011 7:16 am
Location: Stockholm, Sweden

Re: WfOpen ASCII file

Postby paues » Mon Apr 23, 2012 2:20 pm

I am looking to use it in a program. But I thought the two equivalent - aren't they? - and have as of yet only tried via the command prompt.
Last edited by paues on Mon Apr 23, 2012 9:39 pm, edited 2 times in total.

paues
Posts: 218
Joined: Fri Apr 15, 2011 7:16 am
Location: Stockholm, Sweden

Re: WfOpen ASCII file

Postby paues » Tue Apr 24, 2012 12:00 am

I have now tried the same command (with the argument specified in my first post) in a program. And it gives the desired result. What extra arguments need to be added to achieve the same behavior from the command prompt?

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

WfOpen ASCII file

Postby EViews Gareth » Tue Apr 24, 2012 12:28 am

Some (many) commands behave differently when used in the command window compared to in a program, most often with respect to the opening of dialogs. There is no way around it.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests