added files from PsN-2_2_0_patches_serial missing in MAIN
[PsN.git] / html / dia_guide_part4.php
blobf505027ed1c20a01a8f443811881d8fcde45e046
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <title>PsN :: PsN Developer's Guide to Dia :: 4</title>
5 <!--Adobe(R) LiveMotion(TM) 1.0 Generated JavaScript. Please do not edit. -->
6 <script>
7 <!--
8 function newImage(arg) {
9 if (document.images) {
10 rslt = new Image();
11 rslt.src = arg;
12 return rslt;
15 ImageArray = new Array;
16 var preloadFlag = false;
17 function preloadImages() {
18 if (document.images) {
19 ImageArray[ImageArray.length++] = newImage(/* OWNER('object', 'dflt') *//*URL*/'images/indexhome.jpg');
20 ImageArray[ImageArray.length++] = newImage(/* OWNER('object', 'movr') *//*URL*/'images/indexhomeov.jpg');
21 ImageArray[ImageArray.length++] = newImage(/* OWNER('object1', 'dflt') *//*URL*/'images/indexdocumentation.jpg');
22 ImageArray[ImageArray.length++] = newImage(/* OWNER('object1', 'movr') *//*URL*/'images/indexdocumentationov.jpg');
23 ImageArray[ImageArray.length++] = newImage(/* OWNER('object2', 'dflt') *//*URL*/'images/indexdownload.jpg');
24 ImageArray[ImageArray.length++] = newImage(/* OWNER('object2', 'movr') *//*URL*/'images/indexdownloadov.jpg');
25 ImageArray[ImageArray.length++] = newImage(/* OWNER('object3', 'dflt') *//*URL*/'images/indexbuglist.jpg');
26 ImageArray[ImageArray.length++] = newImage(/* OWNER('object3', 'movr') *//*URL*/'images/indexbuglistov.jpg');
27 ImageArray[ImageArray.length++] = newImage(/* OWNER('object4', 'dflt') *//*URL*/'images/indexmailing_list.jpg');
28 ImageArray[ImageArray.length++] = newImage(/* OWNER('object4', 'movr') *//*URL*/'images/indexmailing_listov.jpg');
29 preloadFlag = true;
32 function changeImages() {
33 if (document.images && (preloadFlag == true)) {
34 for (var i=0; i<changeImages.arguments.length; i+=2) {
35 document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
39 // -->
40 </script><!-- End generated JavaScript. -->
41 <meta http-equiv="Content-Type"
42 content="text/html; charset=ISO-8859-1">
43 <style type="text/css">
44 <!--
45 body,td,th {
46 font-family: Helvetica, Arial, serif;
47 font-size: 12px;
48 color: #000000;
50 body {
51 margin-left: 6px;
52 margin-top: 0px;
53 margin-right: 0px;
54 margin-bottom: 0px;
55 background-image: url(gfx/bg.jpg);
57 .style1 {
58 font-size: 36px;
59 font-weight: bold;
61 .heading1 {
62 font-size: 16px;
63 font-weight: bold;
64 color: #333399;
65 margin-left: 40px;
67 a:link {
68 color: #656D9C;
69 text-decoration: none;
71 a:visited {
72 color: #656D9C;
73 text-decoration: none;
75 a:hover {
76 color: #AF9D49;
77 text-decoration: none;
79 a:active {
80 color: #656D9C;
81 text-decoration: none;
83 -->
84 </style>
85 <script language="JavaScript" type="text/JavaScript">
86 <!--
87 function MM_reloadPage(init) { //reloads the window if Nav4 resized
88 if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
89 document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
90 else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
92 MM_reloadPage(true);
93 //-->
94 </script>
95 <meta content="Pontus Pihlgren" name="author">
96 </head>
97 <body onload="preloadImages();"
98 style="background-color: rgb(255, 255, 255);">
99 <!-- The table is not formatted nicely because some browsers cannot join images in table cells if there are any hard carriage returns in a TD. -->
100 <div id="Layer1"
101 style="position: absolute; left: 335px; top: 42px; width: 388px; height: 43px; z-index: 1; font-size: x-small;">
102 <div class="style1" align="right">PsN
103 Developer's Guide to Dia<br>
104 </div>
105 </div>
106 <div id="Layer2"
107 style="position: absolute; left: 226px; width: 497px; z-index: 2; top: 188px; height: 1536px;">
108 <div style="text-align: center;"></div>
109 <div align="justify">
110 <div style="text-align: center;">
111 <table style="text-align: left; width: 100%;" border="0" cellpadding="2"
112 cellspacing="2">
113 <tbody>
114 <tr>
115 <td style="vertical-align: top; width: 33%; text-align: center;"><a
116 href="dia_guide_part3.php">&lt;&lt;
117 Page 3<br>
118 </a></td>
119 <td style="vertical-align: top; width: 33%; text-align: center;"><a
120 href="dia_index.php">Dia
121 Guide Index</a></td>
122 <td style="vertical-align: top; width: 33%; text-align: center;"><a
123 href="dia_guide_part5.php">Page
124 5 &gt;&gt;</a></td>
125 </tr>
126 </tbody>
127 </table>
128 </div>
129 <h3><span class="heading1">Dia2Code Data Types</span><br>
130 </h3>
131 <p> Perl has seven types of data
132 (Actually, only five since Typeglobe and Code described below are
133 actually references): </p>
134 <dl>
135 <dt> <b>Scalar</b> </dt>
136 <dd>
137 <p><span style="font-style: italic;">Scalars</span>
138 are used in Perl to represent integers, floats, strings, and - to
139 confuse things - references. Dia2Code makes a difference between
140 references and scalars, so you should not specify a scalar if you want
141 a reference in Dia. </p>
142 </dd>
143 <dt> <b>List</b> </dt>
144 <dd>
145 <p><span style="font-style: italic;">List</span>
146 is what is used to create arrays and to pass arguments to functions in
147 Perl. Some make a difference between lists and arrays by saying that
148 lists are values and arrays are variables. And since you need types to
149 specify what kind of variable you want, list is not a Dia2Code type.
150 However you are welcome to use list for default values in Dia. </p>
151 </dd>
152 <dt> <b>Array</b> </dt>
153 <dd>
154 <p><span style="font-style: italic;">Arrays</span>
155 in Dia2Code is special, since they are almost allways treated as
156 references to arrays. An accessor to an array member returns a
157 reference to the member and requires a reference as parameter. </p>
158 </dd>
159 <dt> <b>Hash</b> </dt>
160 <dd>
161 <p><span style="font-style: italic;">Hashes</span>,
162 just like arrays, are treated as references to hashes in Dia2Code. </p>
163 </dd>
164 <dt> <b>Reference</b> </dt>
165 <dd>
166 <p>A reference in Dia2Code
167 should be used if you want a reference to a reference. </p>
168 </dd>
169 <dt> <b>Typeglob</b> </dt>
170 <dd>
171 <p>Typeglobs in Dia2Code are
172 used mainly for filehandles. </p>
173 </dd>
174 <dt> <b>Code</b> </dt>
175 <dd>
176 <p>Code references is used for
177 referencing functions, members of explicit code blocks. </p>
178 </dd>
179 </dl>
180 <p> Dia2Code accepts the following
181 types:</p>
182 <b> This part is not finished yet, sorry </b>
183 </div>
184 <div style="text-align: center;">
185 <p align="justify">&nbsp;
186 </p>
187 </div>
188 <table style="text-align: left; width: 100%;" border="0" cellpadding="2"
189 cellspacing="2">
190 <tbody>
191 <tr>
192 <td style="vertical-align: top; width: 33%; text-align: center;"><a
193 href="dia_guide_part3.php">&lt;&lt;
194 Page 3<br>
195 </a></td>
196 <td style="vertical-align: top; width: 33%; text-align: center;"><a
197 href="dia_index.php">Dia
198 Guide Index</a></td>
199 <td style="vertical-align: top; width: 33%; text-align: center;"><a
200 href="dia_guide_part5.php">Page 5 &gt;&gt;</a></td>
201 </tr>
202 </tbody>
203 </table>
204 </div>
205 <table border="0" cellpadding="0" cellspacing="0" width="780">
206 <tbody>
207 <tr>
208 <td height="600" width="780">
209 <table border="0" cellpadding="0" cellspacing="0" width="780">
210 <tbody>
211 <tr>
212 <td colspan="7" height="201" width="780"><img
213 src="images/indexpane1_1_.jpg" name="" alt="" border="0" height="201"
214 width="780"></td>
215 </tr>
216 <tr>
217 <td height="46" width="26"><img
218 src="images/indexpane1_2_.jpg" name="" alt="" border="0" height="46"
219 width="26"></td>
220 <td height="46" width="73"><a href="index.php"
221 onmouseover="changeImages(/*CMP*/ 'object', /*URL*/ 'images/indexhomeov.jpg'); return true;"
222 onmouseout="changeImages(/*CMP*/ 'object', /*URL*/ 'images/indexhome.jpg'); return true;"><img
223 src="images/indexhome.jpg" name="object" alt="Home" border="0"
224 height="46" width="73"></a></td>
225 <td height="46" width="11"><img
226 src="images/indexpane3_2_.jpg" name="" alt="" border="0" height="46"
227 width="11"></td>
228 <td height="46" width="25"><img
229 src="images/indexpane4_2_.jpg" name="" alt="" border="0" height="46"
230 width="25"></td>
231 <td height="46" width="15"><img
232 src="images/indexpane5_2_.jpg" name="" alt="" border="0" height="46"
233 width="15"></td>
234 <td height="46" width="40"><img
235 src="images/indexpane6_2_.jpg" name="" alt="" border="0" height="46"
236 width="40"></td>
237 <td height="46" width="590"><img
238 src="images/indexpane7_2_.jpg" name="" alt="" border="0" height="46"
239 width="590"></td>
240 </tr>
241 <tr>
242 <td colspan="7" height="7" width="780"><img
243 src="images/indexpane1_3_.jpg" name="" alt="" border="0" height="7"
244 width="780"></td>
245 </tr>
246 <tr>
247 <td height="46" width="26"><img
248 src="images/indexpane1_4_.jpg" name="" alt="" border="0" height="46"
249 width="26"></td>
250 <td colspan="5" height="46" width="164"><a href="docs.php"
251 onmouseover="changeImages(/*CMP*/ 'object1', /*URL*/ 'images/indexdocumentationov.jpg'); return true;"
252 onmouseout="changeImages(/*CMP*/ 'object1', /*URL*/ 'images/indexdocumentation.jpg'); return true;"><img
253 src="images/indexdocumentation.jpg" name="object1" alt="Documentation"
254 border="0" height="46" width="164"></a></td>
255 <td height="46" width="590"><img
256 src="images/indexpane7_4_.jpg" name="" alt="" border="0" height="46"
257 width="590"></td>
258 </tr>
259 <tr>
260 <td colspan="7" height="7" width="780"><img
261 src="images/indexpane1_5_.jpg" name="" alt="" border="0" height="7"
262 width="780"></td>
263 </tr>
264 <tr>
265 <td height="46" width="26"><img
266 src="images/indexpane1_6_.jpg" name="" alt="" border="0" height="46"
267 width="26"></td>
268 <td colspan="3" height="46" width="109"><a
269 href="download.php"
270 onmouseover="changeImages(/*CMP*/ 'object2', /*URL*/ 'images/indexdownloadov.jpg'); return true;"
271 onmouseout="changeImages(/*CMP*/ 'object2', /*URL*/ 'images/indexdownload.jpg'); return true;"><img
272 src="images/indexdownload.jpg" name="object2" alt="Download" border="0"
273 height="46" width="109"></a></td>
274 <td colspan="3" height="46" width="645"><img
275 src="images/indexpane5_6_.jpg" name="" alt="" border="0" height="46"
276 width="645"></td>
277 </tr>
278 <tr>
279 <td colspan="7" height="7" width="780"><img
280 src="images/indexpane1_7_.jpg" name="" alt="" border="0" height="7"
281 width="780"></td>
282 </tr>
283 <tr>
284 <td height="46" width="26"><img
285 src="images/indexpane1_8_.jpg" name="" alt="" border="0" height="46"
286 width="26"></td>
287 <td colspan="2" height="46" width="84"><a href="buglist.php"
288 onmouseover="changeImages(/*CMP*/ 'object3', /*URL*/ 'images/indexbuglistov.jpg'); return true;"
289 onmouseout="changeImages(/*CMP*/ 'object3', /*URL*/ 'images/indexbuglist.jpg'); return true;"><img
290 src="images/indexbuglist.jpg" name="object3" alt="Buglist" border="0"
291 height="46" width="84"></a></td>
292 <td colspan="4" height="46" width="670"><img
293 src="images/indexpane4_8_.jpg" name="" alt="" border="0" height="46"
294 width="670"></td>
295 </tr>
296 <tr>
297 <td colspan="7" height="7" width="780"><img
298 src="images/indexpane1_9_.jpg" name="" alt="" border="0" height="7"
299 width="780"></td>
300 </tr>
301 <tr>
302 <td height="46" width="26"><img
303 src="images/indexpane1_10_.jpg" name="" alt="" border="0" height="46"
304 width="26"></td>
305 <td colspan="4" height="46" width="124"><a href="list.php"
306 onmouseover="changeImages(/*CMP*/ 'object4', /*URL*/ 'images/indexmailing_listov.jpg'); return true;"
307 onmouseout="changeImages(/*CMP*/ 'object4', /*URL*/ 'images/indexmailing_list.jpg'); return true;"><img
308 src="images/indexmailing_list.jpg" name="object4" alt="Mailing List"
309 border="0" height="46" width="124"></a></td>
310 <td colspan="2" height="46" width="630"><img
311 src="images/indexpane6_10_.jpg" name="" alt="" border="0" height="46"
312 width="630"></td>
313 </tr>
314 <tr>
315 <td colspan="7" height="141" width="780"><img
316 src="images/indexpane1_11_.jpg" name="" alt="" border="0" height="141"
317 width="780"></td>
318 </tr>
319 </tbody>
320 </table>
321 </td>
322 </tr>
323 <tr>
324 <td><img src="images/is_single_pixel_gif.gif" alt="" height="1"
325 width="780"></td>
326 </tr>
327 </tbody>
328 </table>
329 <!--Adobe(R) LiveMotion(TM) DataMap1.0 DO NOT EDIT
330 end DataMap -->
331 </body>
332 </html>