Lua Multiline Comment

[Solved] Lua Multiline Comment | Lua - Code Explorer | yomemimo.com
Question : lua multiline comment

Answered by : concerned-civet-i68jqk6g7yob

--[[
This
is
a
comment
on
many
different
lines!
]]--

Source : https://www.docs.coronalabs.com/guide/start/introLua | Last Update : Fri, 22 Jan 21

Question : lua multiline string

Answered by : anderium

answer = [[
Multiline strings in Lua do not interpret escape sequences like \n.
When running over multiple lines the enters are included, only
when the first character is a newline it is ignored.
These strings can be nested with = signs between the brackets like
multiline comments: [=[This would be a valid string too]=].
]] --> multiline string with trailing newline

Source : https://www.lua.org/pil/2.4.html | Last Update : Sat, 15 Aug 20

Answers related to lua multiline comment

Code Explorer Popular Question For Lua