For inside group

For questions regarding programming in the EViews programming language.

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

gabictfer
Posts: 2
Joined: Mon May 02, 2016 5:03 pm

For inside group

Postby gabictfer » Fri Jun 10, 2016 1:37 pm

Hello,

Is there any way to do a "for" command for all the members of a group?

Instead of, for example, using

Code: Select all

for {%x} gbp eur jpy
, I would like to do something like

Code: Select all

for {%x} in group_currency
.

Thank you v much in advance!

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

Re: For inside group

Postby EViews Gareth » Fri Jun 10, 2016 2:10 pm

Code: Select all

%list = group_currency.@members for %x {%list}


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests