|  |  |  |  | 
         
          |  |  |  | 
         
          |  |  ForEach iteration control structures
 
  |  | 
        
          |  |  |  | 
         
          |  |  
 | Organization: | University of Notre Dame | 
  |  | 
        
          |  |  |  | 
         
          |  |  2005-01-12
 
  |  | 
        
          |  |  |  | 
         
          |  |  The ForEach package provides iteration control constructs analogous to the "for each" loop control structures found in many scripting languages.
 
 DoForEach simply evaluates an expression multiple times, while TableForEach returns a list of the results. These constructs are closely modeled upon the usual Do and Table constructs.
 
  |  | 
        
          |  |  |  | 
         
          |  |  
  |  | 
        
          |  |  |  | 
         
          |  |  DoForEach, TableForEach, for each, iteration
 
  |  | 
        
          |  |  |  | 
         
          |  |  
 |  | ForEachGuide.pdf (195.5 KB) - PDF Document |  |  | ForEach.m (3.6 KB) - Mathematica Package | 
  |  |