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
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, -- test bar in next, -- comment value do print("test", -- comment "foo" ) end if code == 9 -- \t or code == 32 -- <space> then print(code) end return foo, -- a comment bar