[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why does numeric for loop not accept an explist?
- From: Duck <duck@...>
- Date: Tue, 1 Jan 2008 18:56:28 +1100 (EST)
i=1 repeat ... i = 1+3 until i>10
Sure looks like an endless loop to me
Errr, i = i+3, of course.
Another of the avdantages of the "for equals" loop -- the loop conditions
are easier to get right, or perhaps slightly harder to get wrong :-)