|
Post by Rod on Mar 12, 2020 11:15:03 GMT
Here is something to study and run and think about.
a=1 b=0
'the relational conditions print a=b print a>b print a<b
'the action if the condition is met print "Horray!"
'if relational condition then action if a>b then print "horray!"
'if relational condition then action1 else action2 if a=b then print "horray!" else print "booo!"
'if boolean then action if a then print "horray!" if b then print "horray!"
'if boolean condition then action1 else action2 if a then print "horray!" else print "booo!" if b then print "horray!" else print "booo!"
'nested if a=1 then if b=0 then print "Horray!" end if end if
|
|