From: Willem on 20 May 2010 12:09 bart.c wrote: ) The OP suggested that moving that loop upper limit to outside the loop fixed ) the problem. ) ) This should have made no difference if the problem was in fact the loop ) variable 'i' being modified elsewhere (presumably elsewhere in the loop ) body, unless 'i' was some global.) ) ) So the reporting was misleading too. Unless the variable being changed wasn't the 'i' but the variable that was defining the loop upper limit. SaSW, Willem -- Disclaimer: I am in no way responsible for any of the statements made in the above text. For all I know I might be drugged or something.. No I'm not paranoid. You all think I'm paranoid, don't you ! #EOT |