moonscript/tests/outputs/string.lua

18 lines
372 B
Lua
Raw Normal View History

2011-05-22 07:58:17 +00:00
local hi = "hello"
local hello = "what the heckyes"
print(hi)
local umm = 'umm'
local here, another = "yeah", 'world'
local aye = "YU'M"
you('"hmmm" I said')
print(aye, you)
another = [[ hello world ]]
local hi_there = [[ hi there
]]
local well = [==[ "helo" ]==]
local hola = [===[ eat noots]===]
2011-09-12 06:36:01 +00:00
local mm = [[well trhere]]
local x = "\\"
x = "a\\b"
x = "\\\n"
x = "\""