File: if.htm

package info (click to toggle)
libembperl-perl 2.5.0-17
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 7,632 kB
  • sloc: ansic: 21,387; perl: 14,497; javascript: 4,280; cpp: 467; xml: 49; makefile: 35; sh: 24
file content (89 lines) | stat: -rw-r--r-- 1,761 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89

<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>