lua-users home
lua-l archive

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


> Long comments [[ . . . ]] exists in the manual. But when I use it, I
> get a error "unexpected symbol near `[[A = 5;]]'".

That's a long string.  A long comment starts with `--[['.  Another thing is
that `]]' is quite common in expressions:

    table1[table2[x]]  -- end of comment!!

--
Wim