Re: Repeat Loop Question

2010-12-03 Thread Warren Kuhl
Bob, Thanks for the clarification! You are right about things getting ugly. My results were very inconsistent and took a look time trying to debug to figure out what was causing the problem. Warren On Fri, Dec 3, 2010 at 1:30 PM, Bob Sneidar wrote: > I believe the reason that works you the f

Re: Repeat Loop Question

2010-12-03 Thread Bob Sneidar
I believe the reason that works you the form you use did not, is because with repeat for, the max count is evaluated as a constant, so it takes whatever value you have in tCount and stores it in it's own internal max count. Changing tCount does NOT alter that. However with Repeat While, the co

Re: Repeat Loop Question

2010-12-03 Thread Warren Kuhl
Colin, Thanksthat would work. I didn't even think to do it this way. Have a great weekend! Warren On Fri, Dec 3, 2010 at 1:09 PM, Colin Holgate wrote: > > On Dec 3, 2010, at 1:59 PM, Warren Kuhl wrote: > > > But the repeat still stops at 50. Is there anyway to increase a repeat > loop >

Re: Repeat Loop Question

2010-12-03 Thread Colin Holgate
On Dec 3, 2010, at 1:59 PM, Warren Kuhl wrote: > But the repeat still stops at 50. Is there anyway to increase a repeat loop > maximum variable while within the loop? How about: put 1 into x put 50 into tCount repeat while x <= tCount if x = 50 then put 100 into tCount end if add 1 to x end