Conditions in X3
Basic "if" Statement:
codeExplainvar x = 10
if x > 5 then
show("x is greater than 5.")
end"if-else" Statement:
codeExplainvar y = 3
if y > 5 then
show("y is greater than 5.")
else
show("y is not greater than 5.")
end"elif" Statement:
Last updated