Problem with @wfind

For questions regarding programming in the EViews programming language.

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

SamChampanhet
Posts: 15
Joined: Thu Feb 05, 2015 8:56 am

Problem with @wfind

Postby SamChampanhet » Thu Mar 16, 2017 4:01 am

Hi,
Probably something very easy but why the following program line does return 0? I am using Eviews 9.5 and 8.1 (both versions returning 0).
genr check=@wfind("VTI35_39_00.A VTI35_39_00.M VTI35_39_00.Q",".A")

Thanks,

Sam

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

Re: Problem with @wfind

Postby EViews Gareth » Thu Mar 16, 2017 7:36 am

"A" isn't a word in the string.

You probably want @instr
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 58 guests