[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: I'd give my right arm for a continue statement
- From: David Kastrup <dak@...>
- Date: Fri, 28 Jan 2011 17:08:26 +0100
> Interesting. Have you considered using normal string literals to name
> blocks, rather than inventing new punctuation for the task? I suspect
> it may be more aesthetically pleasing, and it wouldn't break any
> existing code, since a string literal can't legally follow 'do' or
> 'break' in Lua today.
do 'not?':format() end
Surprisingly, it works only with parens around the string in Lua 5.1,
but shouldn't it work in 5.2?