- Product: WRobot General
- Type: Bug
- Status: Fixed
-- is not support as one-line-comment
try this code in the debugger
ret=1 -- ret=2 ret=3
//ret=1 is the result
ret=1 --[[ ret=2 ]] ret=3
//ret=3 is the result
But both should be work http://en.wikibooks.org/wiki/Lua_Programming/How_to_Lua/comment
Recommended Comments
Create an account or sign in to comment