Leo Razoumov escribió:
On 1/24/07, Hugo Etchegoyen <hetchegoyen@hasar.com> wrote:
[..snip..]
But being a seasoned C/C++ programmer, there is only one thing I miss a
lot: a continue statement! Please, please, I know that people asking for
new
features to be added to a language usually annoy its designers, and
generally for good reason. But I honestly think this would be a great
addition which would cost practically nothing and would benefit the
language
and make it more coherent.
[..snip..]
Hugo,
you can fake continue with a "break" inside until...repeat construct, see
http://lua-users.org/lists/lua-l/2006-12/msg00440.html
The price to pay is that your "break" effectively becomes "continue"
in this scope.
Hope it helps,
--Leo--