lua-users home
lua-l archive

Re: [Proposal] break do end

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


On Wed, Aug 27, 2014 at 8:00 PM, Coda Highland <chighland@gmail.com> wrote:
> No, until true would make it loop. until false makes the body of the
> loop execute exactly once.
>
> /s/ Adam
>
While breaking from a 'repeat' would allow you to use break in that
way with the same scoping rules -- I feel like it's not immediately
obvious. +1 to Thiago?

AltStyle によって変換されたページ (->オリジナル) /