-->
Page 1 of 1

block comments deprecated?

PostPosted: Sun Nov 01, 2015 8:12 am
by MHz
when using --[[ ... --]] I got the message: stdin:1: nesting of [[ ... ]] is deprecated near [
What is wrong, how to code block comments now?

I use: NodeMCU 0.9.6 build 20150704 powered by Lua 5.1.4

Thank you for answering a newbie question

Re: block comments deprecated?

PostPosted: Sun Nov 01, 2015 10:18 am
by TerryE
Code: Select all[[   [[ ... ]]  ]]
is not recommended, but
Code: Select all[=[   [[ ... ]]  ]=]
is fine. Nothing to do with nodeMCU. This is standard Lua.