We use cookies on this site to enhance your user experience

Boolean: Code Samples 7

Boolean: Code Samples 7

soul = true
food = false
try = false

if soul or food or try then -- If any of the three comparisons are met, then continue
	print("The value of either soul, food or try is true.")
end