[ create a new paste ] login | about

Link: http://codepad.org/8NaUhrTF    [ raw code | output | fork ]

nepta - Lua, pasted on Apr 8:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--[[
inline string use either " or ',
for multiline string, lua use long bracket notation, in the form:
[=[ multi
line
string
]=]
with 0 or more '='
(for a multi line comment, add '--' before the opening long bracket)
]]

s = [=[
[[Huey]]
"Dewey"
'Louie']=]

print(s)


Output:
1
2
3
[[Huey]]
"Dewey"
'Louie'


Create a new paste based on this one


Comments: