Debian Codegraph @

test/cmp/if.htm

raw
1
2 <html>
3 <head>
4 <title>IF Metacommand in Embperl</title>
5 </head>
6
7 <body>
8
9 a1
10 a <br>
11 a2
12 a <br>
13 a3
14 a <br>
15 a4
16 a5
17 a <br>
18 b is null <br>
19 a <br>
20 b is null <br>
21 a<br>
22 b is null <br>
23 a <br>
24 b is null <br>
25 a <br>
26 b is null <br>
27 a is not null <br>
28 b is null and c is 5 <br>
29 a is not null <br>
30 b is null and c is 5 and d is 'txt' <br>
31 a is not null <br>
32 b is null and c is 5 and d is 'txt' <br>
33 b is null and c is not 5, but d is 'txt' <br>
34 If we get to here it looks good with the tests <br>
35 a is not null <br>
36 b is null and c is 5 and d is 'txt' <br>
37 b is null and c is not 5, but d is 'txt' <br>
38 If we get to here it looks good with the tests <br>
39 ttrue = true
40 tfalse = false
41 The following HTML tags schould be ignored by Embperl
42
43 <if 0>
44
45 Ignored, ok!
46
47 <else>
48
49 Not ignored, ERROR!
50
51 <endif>
52
53
54
55 <table WIDTH="530" BORDER="0">
56 <tr>
57 <TD ALIGN="LEFT">
58 <a href="/">
59 <img src="/icons/iiilogo_narrow.gif"
60 WIDTH="" HEIGHT="" BORDER="0" ALT="iii logo" qqq >
61
62 </TD>
63 </tr>
64 </table>
65
66 <table WIDTH="530" BORDER="0">
67 <tr>
68 <TD ALIGN="LEFT">
69 <a href="/">
70 <img src="/i/www.iii.co.uk/iiilogo_narrow.gif"
71 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" >
72
73 </TD>
74 </tr>
75 </table>
76
77
78 <img src="/icons/iiilogo_narrow_else.gif" WIDTH="5" HEIGHT="10" BORDER="0" ALT="iii logo" >
79
80 <img src="/i/www.iii/iit.gif" WIDTH="6" HEIGHT="11" BORDER="0" ALT="iit logo" >
81
82 <img src="/i/www.iii/iit.gif" WIDTH="6" HEIGHT="11" BORDER="0" ALT="iit logo" qqq>
83
84
85
86 </body>
87 </html>
88
89