Logo

Programming-Idioms

History of Idiom 48 > diff from v35 to v36

Edit summary for version 36 by 3:
[Lua] d

Version 35

2017-10-01, 11:30:44

Version 36

2017-10-27, 18:30:24

Idiom #48 Multi-line string literal

Assign to variable s a string literal consisting in several lines of text

Idiom #48 Multi-line string literal

Assign to variable s a string literal consisting in several lines of text

Extra Keywords
multiline raw
Extra Keywords
multiline raw
Code
s = [[
Huey
Dewey
Louie
]]
Code
s = [[
Huey
Dewey
Louie
]].."/n"..[[
Huey
Dewey
Louie
]]
Comments bubble
Use double square brackets.
Comments bubble
Use double square brackets.
Doc URL
https://www.lua.org/pil/2.4.html
Doc URL
https://www.lua.org/pil/2.4.html
Demo URL
http://codepad.org/8NaUhrTF
Demo URL
http://codepad.org/8NaUhrTF