File: if.htm

package info (click to toggle)
libhtml-embperl-perl 1.3.6-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,596 kB
  • ctags: 1,190
  • sloc: ansic: 8,985; perl: 4,584; makefile: 83
file content (103 lines) | stat: -rw-r--r-- 1,778 bytes parent folder | download | duplicates (3)
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103

<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=".gifSRC="/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>