Expanding string list from wildcard

For questions regarding programming in the EViews programming language.

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

adrian_d
Posts: 44
Joined: Wed Jan 29, 2014 6:08 am

Expanding string list from wildcard

Postby adrian_d » Thu Jul 16, 2015 7:56 am

Hi,

Suppose that there is a dialogbox in which a user types in names of variables (series) which he wants to change, and we want to use asterisk to do it, e.g. a user can type in: sales_* . I know there is a way of expanding this list by creating a group and using @members attribute, but is there any other way? I would like to check if declared series really exist in the workfile, because creating a group will end up with error if there is no such a series. Alternatively, is there a way of preventing an error when creating a group with a list of series one of which does not exist?

Thanks
adrian

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

Re: Expanding string list from wildcard

Postby EViews Gareth » Thu Jul 16, 2015 8:15 am

@wlookup might work.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests