lua-users home
lua-l archive

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

On Wed, Oct 28, 2009 at 4:36 PM, Mark Hamburg <> wrote:
On Oct 27, 2009, at 7:24 AM, David Kastrup wrote:

Mark Hamburg <> writes:

If unexpected line continuations are the problem, then obviously what
Lua needs is a line continuation character. It goes in column 7 as I
recall. ;-)

Even 1-based (as Lua programmers would have it) it goes in column 6.

I think I was remembering COBOL:

       • Cobol: String constants may be continued by not ending the original string in a PICTURE clause with ', then inserting a - in column 7 (same position as the * for comment is used.)

Or a corrupted mixture of COBOL and FORTRAN syntax.


I prefer the VB _ at the end of line as a continuation character.
Much easier to miss.
You can write truly great misleading code.