for/break

Ka-Ping Yee ping@lfw.org
Wed, 2 Dec 1998 01:35:28 -0800 (PST)


[] How do you break out of a "for" loop?

If "while" comes with a "break", shouldn't "for" come with a
"break" too?  I noticed in editing these pages of documentation
that there was no mention of that.

Being able to return a value from the inside of a "for" loop
is an important ability that will stop people from complaining
that their key-pattern and value-pattern are locked in the
inner scope...


!ping