Answers for "lua multiline comment"

Lua
5

lua multiline comment

--[[ 
This
is
a
comment
on
many
different
lines!
]]--
Posted by: Guest on January-15-2021
3

how to comment multiple lines in lua

Comment one line -

-- stuff here

Comment multiple lines

--[[ stuff
here --]]
Posted by: Guest on June-23-2020
4

block commenting lua

--[[ The comment starts like this

	and ends like this --]]
Posted by: Guest on July-04-2020
1

lua multiline string

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
Posted by: Guest on August-08-2020
2

lua commenting

-- Your comment here
Posted by: Guest on April-03-2020

Browse Popular Code Answers by Language