2023-09-27 01:31:00 +00:00
|
|
|
print "# 1"
|
|
|
|
|
2023-09-26 18:46:01 +00:00
|
|
|
print (nil)
|
|
|
|
print (false)
|
|
|
|
print (true)
|
|
|
|
print (1993)
|
2023-09-26 19:23:57 +00:00
|
|
|
print (1993.00)
|
2023-09-24 21:16:10 +00:00
|
|
|
print "Hello."
|
2023-09-26 20:49:12 +00:00
|
|
|
|
2023-09-27 01:31:00 +00:00
|
|
|
print "# 2"
|
|
|
|
|
2023-09-26 20:49:12 +00:00
|
|
|
local t = {}
|
|
|
|
print (t)
|
2023-09-27 01:31:00 +00:00
|
|
|
print (t [1])
|
|
|
|
t [1] = "asdf"
|
|
|
|
print (t [1])
|
|
|
|
t.x = 1993
|
|
|
|
print (t.x)
|
|
|
|
|
|
|
|
t.t = { 3.14159 }
|
|
|
|
print (t ["t"][1])
|
|
|
|
|