Horje
lua multiline comment Code Example
lua multiline comment
--[[ 
This
is
a
comment
on
many
different
lines!
]]--
how to comment multiple lines in lua
Comment one line -

-- stuff here

Comment multiple lines

--[[ stuff
here --]]
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
Source: www.lua.org




10

Related
repeating loop roblox Code Example repeating loop roblox Code Example
when button is clicked roblox lua Code Example when button is clicked roblox lua Code Example
lua How to remove index from table Code Example lua How to remove index from table Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11