blob: a23b46437bf7984839f9fcae4579c2069572dca9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
--[[
This is a
comment block.
]]
local function fun ()
print("fun")
end
local f = (function ()
print(1)
end)
for i = 1, 10 do
print(i)
end
repeat
print("repeat")
until false
while true do
print("while")
end
do
print(1)
end
if true then
print(1)
elseif false then
print(0)
else
print(0)
end
function f1 (has,
lots,
of,
parameters)
print("ok")
end
|