next up previous contents
Next: Examples of NEW Up: The INDEPENDENT Directive Previous: Examples of INDEPENDENT

NEW Variables

 

The NEW clause asserts that the named variables act as private variables to each iteration of the INDEPENDENT loop. That is, there would be no interfering assignments and uses in the loop, and thus no change in ghe behavior of the program, if new objects were created for the NEW variables for each iteration of the DO loop and those objects were destroyed at the end of each iteration. Thus, no values flow into NEW variables from execution before the loop, no values flow from NEW variables to execution after the loop, and (most importantly) no values flow from one iteration to another through NEW variables.




next up previous contents
Next: Examples of NEW Up: The INDEPENDENT Directive Previous: Examples of INDEPENDENT