Seb James wrote:
> Has anyone had any trouble with a for loop executing the wrong number of
> times?
> I have a for loop in which is nested another for loop.
> The outermost loop always executes 4 times, regardless of what is wired
> to the 'N'
> If anyone has seen such a bug I'd be interested to know about it.
You're not trying to auto-index an array are you ? If you have an
array input into the for loop and keep auto-index on, then the for
loop will run the lesser of the array size or the N.
--
******************************************************************************
Gavin Burnell Dept. Materials Science and Metallurgy
Device Materials Group University of Cambridge, UK
**********************************************
********************************
The good Christian should beware of mathematicians, astrologers and
all those who make empty prophecies. The danger already exists that
the mathematicians have made a covenant with the devil to darken the
spirit and to confine man to the bonds of Hell.
(St. Augustine of Hippo)
--
Gavin Burnell
Condensed Matter Physics Group, University of Leeds, UK
http://www.stoner.leeds.ac.uk/