lua-users home
lua-l archive

Re: Can not use long comments

[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

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