Page 1 of 1

@wfind and asterisk

Posted: Thu Jan 25, 2018 12:08 pm
by nupogodi
It would be useful to add asterisk feature to word search function

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

Re: @wfind and asterisk

Posted: Thu Feb 01, 2018 5:28 am
by nupogodi
@wlookup function could be augmented by search capability of attributes. This similar to @wquery function

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

Re: @wfind and asterisk

Posted: Mon May 21, 2018 3:44 am
by nupogodi
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.

Re: @wfind and asterisk

Posted: Mon May 21, 2018 10:34 am
by EViews Matt
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).