Skip to content
Prev 175193 / 398506 Next

Assignment to variables fails to loop

The variable name in your call to assign should vary within the for  
loop, otherwise you're always assigning the value to the same variable.

Consider the following example,
HTH,

baptiste
On 27 Mar 2009, at 18:11, Steve Murray wrote:

            
_____________________________

Baptiste Augui?

School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK

Phone: +44 1392 264187

http://newton.ex.ac.uk/research/emag