a = true
b = false
if a then
print("a is true")
end
if a then
print("a is true")
else
print("a is false")
end
if a then
print("a is true")
elseif b then
print("b is true")
else
print("a and b is false")
end
3 lua 条件语句
最新推荐文章于 2024-04-21 22:06:03 发布