not ok"
IF AND A THEN PRINT "not ok"
IF B OR THEN PRINT "not ok"
</FONT></PRE>On occasions where one line is not enough after the THEN command, you can use the IF ENDIF statement. Using the same IF logic as above, instead of a THEN Command, simply provide your commands to be executed on the lines following the IF command. You must then mark the end of the commands to be executed with an ENDIF command, as the following example shows:<BR>
<BR>
<PRE><FONT FACE=courier COLOR=BLUE>IF A = B
PRINT "Hello A and B!"