B
This commit is contained in:
parent
e5e8880e41
commit
518da4a923
1019 changed files with 15877 additions and 0 deletions
6
Task/Boolean-values/Lua/boolean-values.lua
Normal file
6
Task/Boolean-values/Lua/boolean-values.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
if 0 then print "0" end -- This prints
|
||||
if "" then print"empty string" end -- This prints
|
||||
if {} then print"empty table" end -- This prints
|
||||
if nil then print"this won't print" end
|
||||
if true then print"true" end
|
||||
if false then print"false" end -- This does not print
|
||||
Loading…
Add table
Add a link
Reference in a new issue