Check if series is member of group

For questions regarding programming in the EViews programming language.

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

fboehlandt
Posts: 83
Joined: Thu Apr 15, 2010 3:54 am

Check if series is member of group

Postby fboehlandt » Tue Jun 24, 2014 6:52 am

Hi everyone

What?
what is the quickest check to see whether or not a series is a member of a group?

Why?
I have a routine that adds series to a group. An inner loop is executed only if the series was not previoulsy added to the group

Where?
In EViews 7 (build 7.2)

Looping throught the group members takes long so I was hoping there is some fucntion that parses the series names of the group stored as a text string.

Any input is grealty appreciated

Thanks

Florian

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

Re: Check if series is member of group

Postby EViews Gareth » Tue Jun 24, 2014 8:01 am

Put the group members into a string using group.@members. Then use @wfind.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests