View Single Post
Old 09-14-2004, 08:02 PM   #4 (permalink)
littleFella
Inactive
 
littleFella's Avatar
 
Join Date: 06-20-04
Location: Ontario
Posts: 3,359
iTrader: 0 / 0%
Latest Blog:
None

littleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to behold
yeah, that seems strange, although it happens in more than one language that an increment function won't kick in for some reason. I admit I''ve been looking at this and couldn't find a problem in code.

It almost looks as if the WHILE condition is not always seeing the right values so the loop breaks prematurely. If so then another approach could be the use of a FOR loop instead. At least you force the code to iterate a predefined number of times. The trick is that you may need to dynamically establish a number of iterations before jumping into the loop.
littleFella is offline   Reply With Quote