Repeat Loop Question

Warren Kuhl warrenkuhl at gmail.com
Fri Dec 3 14:15:45 EST 2010


Colin,

Thanks....that 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 <coiin at verizon.net> 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
> > 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 repeat
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the Use-livecode mailing list