#!F-adobe-helvetica-medium-r-normal--18*
#!N 
#!N  #!Rforemem ForEachMember 
#!N #!N Category #!N #!N  #!Lcatflow,dxall755 h Flow Control  #!EL  #!N #!N Function #!N #!N 
Iterates through the members of a group or the items of 
an array. #!N #!N Syntax #!CForestGreen #!N  #!F-adobe-courier-bold-r-normal--18*    #!F-adobe-times-bold-r-normal--18*   member, index, 
last #!EF = ForEachMember(  #!F-adobe-times-bold-r-normal--18*   object #!EF ); #!EF #!N #!N 
#!EC #!N #!N Inputs #!T,1,91,276,461,646  #!F-adobe-times-medium-r-normal--14*    #!F-adobe-times-bold-r-normal--18*   #!N TAB Name TAB 
Type TAB Default TAB Description #!EF #!N TAB object TAB group, 
value list, or string list TAB (none) TAB object to be 
iterated through #!N TAB - TAB - TAB - TAB #!EF 
#!N #!N Outputs #!T,1,161,321,646  #!F-adobe-times-medium-r-normal--14*    #!F-adobe-times-bold-r-normal--18*   #!N TAB Name TAB Type 
TAB Description #!EF #!N TAB member TAB object TAB current member 
#!N TAB index TAB integer TAB index number of member #!N 
TAB last TAB flag TAB status of loop #!N TAB - 
TAB - TAB #!EF #!N #!N Functional Details #!N #!N This 
module initiates an iteration for each member of a group or 
item in an array unless execution is terminated earlier by Done. 
In the user interface, this module would usually be part of 
a macro, and  #!F-adobe-times-medium-i-normal--18*   only #!EF the contents of the macro 
would be executed for each iteration of the loop. If this 
module is placed in the top level visual program, the entire 
program will be executed during the loop. #!N #!N Typically, loops 
are initiated with ForEachMember or ForEachN, although they can also be 
implemented with a Get/Set pair and Done. Note: If this module 
is used in the scripting language, the results are defined only 
if they are used inside a macro. #!N #!I0 #!N #!N 
#!I0 #!N  #!F-adobe-times-bold-r-normal--18*    #!F-adobe-times-bold-r-normal--18*   object #!EF #!EF #!I50 #!N is the 
object to be iterated over: either a group or a list. 
#!I0 #!N #!N #!N #!N This module has three outputs: #!N 
#!I0 #!N #!N #!I0 #!N  #!F-adobe-times-bold-r-normal--18*    #!F-adobe-times-bold-r-normal--18*   member #!EF #!EF #!I50 
#!N identifies the member currently being iterated. #!N #!I0 #!N  #!F-adobe-times-bold-r-normal--18*   
 #!F-adobe-times-bold-r-normal--18*   index #!EF #!EF #!I50 #!N is the index number of 
the member being iterated (in a zero-based counting system). #!N #!I0 
#!N  #!F-adobe-times-bold-r-normal--18*    #!F-adobe-times-bold-r-normal--18*   last #!EF #!EF #!I50 #!N is a flag 
indicating whether or not this is the last iteration through the 
loop. #!I0 #!N #!N #!N #!N Example Visual Program #!N #!N 
#!CForestGreen #!N  #!F-adobe-courier-bold-r-normal--18*   #!N Accumulate.net #!EF #!N #!N #!EC #!N #!N 
See Also #!N #!N  #!Lodone,dxall828 h Done  #!EL  ,  #!Lofirst,dxall850 h First  #!EL  ,  #!Lforen,dxall852 h ForEachN  #!EL  ,  #!Lgetglo,dxall854 h GetGlobal  #!EL  
,  #!Lgetloc,dxall855 h GetLocal  #!EL  ,  #!Lsetglo,dxall940 h SetGlobal  #!EL  ,  #!Lsetloc,dxall941 h SetLocal  #!EL  #!N #!N  #!Lxmod,dxall263 h Data Explorer Execution Model  #!EL  in IBM 
Visualization Data Explorer User's Guide. #!N #!N #!N  #!F-adobe-times-medium-i-normal--18*   Next Topic 
#!EF #!N #!N  #!Lforen,dxall852 h ForEachN  #!EL  #!N  #!F-adobe-times-medium-i-normal--18*   #!N 
