<html> <head> <title>IF Metacommand in Embperl</title> </head> <body> a1 a <br> a2 a <br> a3 a <br> a4 a5 a <br> b is null <br> a <br> b is null <br> a<br> b is null <br> a <br> b is null <br> a <br> b is null <br> a is not null <br> b is null and c is 5 <br> a is not null <br> b is null and c is 5 and d is 'txt' <br> a is not null <br> b is null and c is 5 and d is 'txt' <br> b is null and c is not 5, but d is 'txt' <br> If we get to here it looks good with the tests <br> a is not null <br> b is null and c is 5 and d is 'txt' <br> b is null and c is not 5, but d is 'txt' <br> If we get to here it looks good with the tests <br> ttrue = true tfalse = false The following HTML tags schould be ignored by Embperl <if 0> Ignored, ok! <else> Not ignored, ERROR! <endif> <table WIDTH="530" BORDER="0"> <tr> <TD ALIGN="LEFT"> <a href="/"> <img src="/icons/iiilogo_narrow.gif" WIDTH="" HEIGHT="" BORDER="0" ALT="iii logo" qqq > </TD> </tr> </table> <table WIDTH="530" BORDER="0"> <tr> <TD ALIGN="LEFT"> <a href="/"> <img src="/i/www.iii.co.uk/iiilogo_narrow.gif" WIDTH="1" HEIGHT="2" BORDER="0" ALT="iii logo" onload="window.open('/iit/leavingiit.epl','dis','status=no,scrollbars=no,resizable=yes,width=370,height=320,screenX=100,screenY=100,top=100,left=100'); return false" > </TD> </tr> </table> <img src="/icons/iiilogo_narrow_else.gif" WIDTH="5" HEIGHT="10" BORDER="0" ALT="iii logo" > <img src="/i/www.iii/iit.gif" WIDTH="6" HEIGHT="11" BORDER="0" ALT="iit logo" > <img src="/i/www.iii/iit.gif" WIDTH="6" HEIGHT="11" BORDER="0" ALT="iit logo" qqq> </body> </html>