I have a group and I want to get it into a string so that I can loop through the elements of the group. e.g. something like this:
group test1 x1 x2 x3
string test2="test1"
for %t {test2}
series {%t}=1
next
but I can't use a group to create a string (i.e. string test2="test1" doesn't work it creates a string with test1 in it rather than the elements of test1). Is there anyway that I can get this to work or any otehr way that I can loop through the elements of a group?
Getting groups into strings
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Getting groups into strings
I'm not in the office to check, but I think you can use
Check the first few pages of the group entry in the Object Reference for it's string data members.
Code: Select all
%s = group.@wmembers
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 28 guests