1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
local foo_result = foo( --a comment "oof" ) local expr_result = 1 + 2 + 3 + 4 + 5 --a comment + 6 + 6 + 8 print("text") --a comment foo({ bar = baz }) -- comment for foo, bar in next, value do -- test -- comment print( "test", -- comment "foo" ) end if code == 9 -- \t or code == 32 -- <space> then print(code) end return foo, bar -- a comment