--- parser3/src/www/htdocs/Attic/index.html 2001/08/28 09:39:30 1.282
+++ parser3/src/www/htdocs/Attic/index.html 2001/09/07 14:36:13 1.296.2.2
@@ -1,9 +1,23 @@
-@USE
-t.p
-dtf.p
-
@main[]
-^tfilemove[]
+^tdupleform[]
+#^tvoiddefault[]
+#^testdom0[]
+#^testlocal[0]
+#^thashdefault2[]
+#^tcase2[]
+#^tlsplit2[]
+#^tconnect[]
+#^timghtmlyu[]
+#^timghtml[]
+#^tresult[]
+#^voidtest[]
+#^ttext[]
+#^tdoubledefault[]
+#^tintdefault[]
+#^t3partycookie[]
+#^t3partycookie[]
+#^tcookie[]
+#^tfilemove[]
#^treplace[]
#^measuretest[]
#^savetest[]
@@ -17,6 +31,112 @@ dtf.p
#^tests[]
#^func(0)
+@tdupleform[]
+$form:fields.a
+#$c[^form:a.columns[]]
+#^c.menu{$c.column}[,]
+#^form:a.menu{$form:a.element=}[,]
+
+@tvoiddefault[]
+$var[$form:element]
+^var.int(2)
+
+
+@testdom0[]
+$dom[^dom::load[a.xml]]
+
+
+@testlocal[level][local]
+$local($level)
+before($level):$local
+^if($level<10){
+ ^testlocal($level+1)
+}
+after($level):$local
+
+@thashdefault2[]
+$hash[
+ $.a[1]
+ $.b[2]
+ $._default[xx]
+]
+$hash.c
+
+@tcase2[]
+$hash[
+ $.1{^load[code1]}
+ $.2{code2}
+]
+$hash.1
+
+@tlsplit2[]
+$splitURI[^request:uri.mid(1;^request:uri.length[]-1).lsplit[/]]
+OK
+
+@tconnect[]
+#^connect[mysql://hren:pwd@hren/zz]{hren}
+^connect[mysql://]{^void:sql{show tables}}
+
+
+@timghtmlyu[]
+^img[/i/commons_22_prev.gif][$.vspace(100)]
+@img[filename;params]
+^if(-f $filename){$thisImage[^image::measure[$filename]]^thisImage.html[$params]}
+
+@timghtml[]
+$êàðòèíêà[^image::measure[i/commons_22_prev.gif]]
+#$hash[$.alt[222]]
+#^timghtml-nested[$hash]
+^timghtml-nested[$.alt[222]]
+
+@timghtml-nested[params]
+^êàðòèíêà.html[$params]
+
+@tresult[]
+44
+$result[]
+
+@voidtest[]
+#$var[123x]
+^var.int(4)
+
+@ttext[]
+$êàðòèíêà[^image::load[/i/commons_22_prev.gif]]
+^êàðòèíêà.font[ ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ0123456789-+=!\"%:,.^^^;<>?@()[]'&*/^$;/i/font.gif](5)
+
+^êàðòèíêà.text(10;10)[ ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijkl]
+^êàðòèíêà.text(10;30)[mnopqrstuvwxyzÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞß]
+^êàðòèíêà.text(10;50)[àáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ0123456789]
+^êàðòèíêà.text(10;70)[!-+=!\"%:,.^^^;<>?@()[]'&*/^$!]
+
+
+$response:body[^êàðòèíêà.gif[]]
+
+@tdoubledefault[]
+$a[123.6x]
+#^a.double[]
+^a.double(999)
+
+
+@tintdefault[]
+$a[123x]
+#^a.int[]
+^a.int(999)
+
+@t3partycookie2[]
+#z
z
+z
z
+
+@t3partycookie[]
+z
z
+
+@tcookie[]
+$response:P3P[policyref="http://parser3/w3c/paf.xml"]
+$cookie:test[$form:x^math:random(100)]
+$env:HTTP_COOKIE
+get:$cookie:test
+#
+
@tfilemove[]
^file:move[a/a;b/b]
@@ -28,7 +148,7 @@ $ñòðîêà[áûâàåò øèëî â çàäèöå]
^ñòðîêà.replace[$øèëî-íà-ìûëî]
@measuretest[]
-$im[^image::measure[mm2.jpg]]
+$im[^image::measure[mm3.gif]]
x:y=${im.width}:${im.height}
@savetest[]