[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#322: off-by-one in doc/misc/cl.texi

From: Felix -
Subject: bug#322: off-by-one in doc/misc/cl.texi
Date: Tue, 27 May 2008 02:28:51 -0700

node "Iteration Clauses" says

(loop repeat n do ...)
(loop for temp to n do ...)
@end example
are identical except that the second one forces you to choose
a name for a variable you aren't actually going to use.

except they aren't identical.
the repeat loop runs n times, the for loop runs n+1 times.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]