lua-users home
lua-l archive

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


>Although you just do:
>
>_=[[
>This is a multiline
>block
>comment
>]]

A more flexible idiom is

 comment = [[
 This is a multiline
 block
 comment
 --]]

This allows block comments to be used for commenting out blocks of code.
The block can be made active again by simply adding "--" to "comment =".
--lhf