' Boolean Evaluations
'
' > Greater Than
' < Less Than
' >= Greater Than Or Equal To
' <= Less Than Or Equal To
' = Equal to

x = 0

if x = 0 then print 

' --------------------------
' if/then/else
if x = 0 then
print 
else
print 
end if

' --------------------------
' not
if x then
print 
end if
if not(x) then
print 
end if

' --------------------------
' if .. end if
if x = 0 then
print 
goto [surprise]
end if
wait

if x = 0 then goto [surprise]
print 
wait

[surprise]
print 
wait

' --------------------------
' case numeric
num = 3

select case num
case 1
print 

case 2
print 

case 3
print 

case else
print 

end select

' --------------------------
' case character
var$=

select case var$

case 
print 

case 
print 

case else
print 

end select