summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex/luaintro/08-01-9.lua
blob: 7acaa2bd7874833ec3ed468d6048ca04a9e6058d (plain)
1
2
3
4
5
6
7
8
print(1 or 2)
print(1 and 2)
print(1 or error())
print(nil or "nil")
print(nil and 1)
print(false and error())
print(false and nil)
print(false or not nil)