>> Can you give an example - I don't understand how that would work (I
>> thought
>> that the condition decided when the loop ended).
>
> #declare Limit = .8;
> #while(MyRand() < Limit)
> doSomething();
> #end
As I already wrote to clipka when he mentioned the rand() function, as the
result could be different each time from a macro, the infinite-loop-checker
effectively would assume that the result was being reassigned each loop, so
not flag it up as an infinite loop.
Post a reply to this message
|