“comentario multiline de lua” Código de respuesta

comentario multiline de lua

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

cadena multilínea lua

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
anderium

Respuestas similares a “comentario multiline de lua”

Preguntas similares a “comentario multiline de lua”

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código