
ENDIF
</FONT></PRE>This is the same as:<BR>
<BR>
<PRE><FONT FACE=courier COLOR=BLUE>IF A = B THEN PRINT "Hello A and B!"
</FONT></PRE>But the main advantage is that the first piece of code can be adapted to do this:<BR>
<BR>
<PRE><FONT FACE=courier COLOR=BLUE>IF A = B
PRINT "Hello A!"
PRINT "Hello B!"
PRINT "Hello A and B!"
PRINT "Hello B and A!"
PRINT "Hello Everything!"
ENDIF
</FONT></PRE>You can also respond to an IF command if the expression turns out to be false. In cases where you wish to execute a d