@wfind and asterisk

For making suggestions and/or requests for new features you'd like added to EViews.

Moderators: EViews Gareth, EViews Moderator

nupogodi
Posts: 53
Joined: Thu Jun 03, 2010 12:50 am

@wfind and asterisk

Postby nupogodi » Thu Jan 25, 2018 12:08 pm

It would be useful to add asterisk feature to word search function

@wfind("I didx it", "did*") should return 2

nupogodi
Posts: 53
Joined: Thu Jun 03, 2010 12:50 am

Re: @wfind and asterisk

Postby nupogodi » Thu Feb 01, 2018 5:28 am

@wlookup function could be augmented by search capability of attributes. This similar to @wquery function

@wlookup("name matches GDP* and freq=Q", "name")

nupogodi
Posts: 53
Joined: Thu Jun 03, 2010 12:50 am

Re: @wfind and asterisk

Postby nupogodi » Mon May 21, 2018 3:44 am

This syntax is not valid currently:

if @isobject({%n}_{%y}) = 1 then

nor is:

if @isobject(%n_%y) = 1 then

However, @isobject should allow variables names insertion in parenthesis.

EViews Matt
EViews Developer
Posts: 560
Joined: Thu Apr 25, 2013 7:48 pm

Re: @wfind and asterisk

Postby EViews Matt » Mon May 21, 2018 10:34 am

Hello,

@isobject requires a string argument, but {%n}_{%y} is not a string (it's an identifier, i.e., a name). Instead, use the expression @isobject(%n + "_" + %y).


Return to “Suggestions and Requests”

Who is online

Users browsing this forum: No registered users and 17 guests