Page 1 of 1

LUA multiple lines comment

Posted: Thu Oct 23, 2014 7:25 pm
by cromcrom
Multiple lines comments:
--[[
this is commented
so is this
--]]

then, easy way to try the commented stuf is adding one - at the beginning
---[[
this is uncommented
so is this
--]]

I wanted to share, because I used to only use
--
to comment/uncomment,

and thought it might be usefull :-)

Re: LUA multiple lines comment

Posted: Thu Oct 23, 2014 7:46 pm
by SnowyOwl47
You can also use those with other things such as:

hudPrint([[
Some
text
bla
bla
bla]])