--- parser3/src/www/htdocs/Attic/index.html 2001/09/18 15:24:37 1.296.2.12
+++ parser3/src/www/htdocs/Attic/index.html 2001/11/14 09:47:49 1.478
@@ -1,2036 +1,672 @@
@main[]
-#^locals[]
-^fori[]
-#^imagepoly[]
-#^dconst[]
-#^subnameinexpr3[]
-#^subnameinexpr2[]
-#^subnameinexpr[]
-#^statictest[]
-#^istable[]
-#^line[]
-#^emptyprotocol[]
-#^emptytableisnotdef[]
-#^autoconvemptystring[]
-#^tdupleform[]
-#^tvoiddefault[]
-#^testdom0[]
-#^testlocal[0]
-#^thashdefault2[]
-#^tcase2[]
-#^tlsplit2[]
-#^tconnect[]
-#^timghtmlyu[]
-#^timghtml[]
-#^tresult[]
-#^voidtest[]
-#^ttext[]
-#^tdoubledefault[]
+^badoracequoting[]
+#^badconstructors[]
+#^xloadwrongtable[]
+#^xsetwrongtable[]
+#^if($form:test){y}{n}
+#^tablecolumnerror[]
+#^roll[]
+#^cookie2[]
+#^tableset[]
+#^math:PI.format{%.30f}
+#^xchildren[]
+#^thashforeach3[]
+#^thashforeach2[]
+#^thashforeach[]
+#^thashdelete[]
+#^connect[mysql://user:pass@cd.rinet.ru/db]{^void:sql{z} }
+#^tappend[]
+#^sappend[]
+#^eval(10\3)
+#^tform[]
+#^formattest[]
+#^filelist[]
+#^connect[mysql://user:pass@host]{ }
+#^безнадёжна_попытка_поправить_непоправимое[]
+#^tcache[]
+#^thashfileexp[]
+#^tcounter[]
+#^tablehash[]
+#j^hashfile[]
+#^formclass[]
+#^hren[]
+#^domedit[]
+#^domxslt[]
+#^lsplit2[]
+#^faceesize[]
+#^imageresize[]
+#^ifassignhash[]
#^tintdefault[]
-#^t3partycookie[]
-#^t3partycookie[]
-#^tcookie[]
-#^tfilemove[]
-#^treplace[]
-#^measuretest[]
-#^savetest[]
-#^oratestinsert[]
-#^oratestread[]
-#^process_check[]
-#^ffcheck[]^[xxx]
+#$response:status[404]
+#^ifpasshash[]
+#^movedir[]
+#^replace[]
+#^set[]
+#^hash[]
+#$t[^methresult[]] ->$t
+#^terror[]
+#^ssave[]
+#^calendar[]
+#^thash[]
+#^tdef[]
+#^ford[]
+#^tif[]
+#^image[]
+#^mail2[]
+#^cookie[]
+#^response[]
+#^regexp2[]
+#^ttablerem[]
+#^pcre[]
+#^regexp[]
+#^mail[]
+#^exec[]
+#^fori[]
+#^tconnect[]
+#^xslt[]
+#^xml[]
+#^header[]
+
+OK
-#$ORIGINS(1)
-#^list[]
-#^tests[]
-#^func(0)
-
-@locals[][i]
-$i[33]
-^locals2[]
-$i
-
-@locals2[][i]
-$i[44]
-$i
+@badoracequoting[]
+$SQL.connect-string[oracle://webspb:webpwd@mts?NLS_LANG=RUSSIAN_AMERICA.CL8MSWIN1251&NLS_DATE_FORMAT=YYYY-MM-DD HH24:MI:SS]
+^connect[$SQL.connect-string]{
+^void:sql{delete from paf}
+^void:sql{insert into paf values (1, '^taint[1'2'3]')}
+$paf[^table::sql{select * from paf}]
+^paf.menu{
+ $paf.id: $paf.block
-@fori[][i]
-#$i(0)
-$j(0)
-#^while($i<=9){
-#^while($j<1){
-^for[i](0;9){
-=$i=
-^j.inc[]
-#^i.inc[]
-#}
}
+
-@imagepoly[]
-$i[^image::create[200;200]]
-$i.line-style[******* ]
-^i.polyline(0)[^table::set{x y
-50 50
-100 50
-150 150
-}]
-#^i.line(50;50;100;50;0)
-$response:body[^i.gif[]]
-
-@dconst[]
-$hash[
-$.a(0xe)
-]
-$hash.a
+^rem{
+$news[^table::sql{select description from news}[$.limit(3)]]
+^news.menu{
+ ^untaint{$news.description}
-@subnameinexpr3[]
-^use[/chart.p]
-$test[^chart::init[1;2;$.zz[]]]
+}
+
+}
-@subnameinexpr2[]
-^use[/test.p]
-$test[^test::subnameinexpr2[]]
-$test.c
+$tables[^table::sql{select table_name from user_tables}]
+^tables.menu{
+$tables.table_name
+}
-@subnameinexpr[]
-$hash[
- $.a[1]
- $.b[2]
-]
-$c($CLASS.hash.a+$hash.b)
-$c
+}
+
+$env:PATH
-@statictest[]
-^use[/test.p]
-$test[^test::create[]]
+@badconstructors[]
+$bred[^string::length[]]
+$bred[^response::clear[]]
+$bred[^int::int[]]
-@istable[]
-^istable_nested[^table::set{hren}]
-@istable_nested[param]
-^if($param is table){y2;n2}
-@line[]
-$картинка[^image::create(200;200)]
-$картинка.line-width(2)
-^картинка.line(0;0;$картинка.width;$картинка.height;0)[**** * ]
-$response:body[^картинка.gif[]]
+@xloadwrongtable[]
+$constr[^xdoc::load[wrongtable.xml]]
+@xsetwrongtable[]
+$constr[^xdoc::set{
+^untaint[as-is]{$constructor}}]
-@emptyprotocol[]
-^connect[]{zz}
-@emptytableisnotdef[]
-$table[^table::set[nameless]{}]
-^if(def $table){y;n}
+@tablecolumnerror[]
+$t[^table::set{a}]
+$t.$a
-@autoconvemptystring[]
-^if($form:v){y}{n}
+@roll[]
+#$date[^date::set(1970;1;2)]
+#^date.roll[month](-1)
+$date[^date::set(2038;1;1)]
+^date.roll[month](+1)
+$date.year $date.month $date.day
+@cookie2[]
+#=$cookie:clientType[$.value[test]]=
+=$cookie:clientType=
-@tdupleform[]
-#$form:fields.a
-#$c[^form:tables.a.columns[]]
-#^c.menu{$c.column}[,]
-$atable[$form:tables.a]
-^atable.menu{a=$atable.field}[,]
-@tvoiddefault[]
-$var[$form:element]
-^var.int(2)
+@tableset[]
+$a[^table::set{a
+1
+2}]
+^eval(100\$a)
-@testdom0[]
-$dom[^dom::load[a.xml]]
+@zzz[]
-@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]
+$constructor[
+
+
]
-$hash.c
-@tcase2[]
-$hash[
- $.1{^load[code1]}
- $.2{code2}
-]
-$hash.1
+$constr[^xdoc::set{
+^untaint[as-is]{$constructor}}]
-@tlsplit2[]
-$splitURI[^request:uri.mid(1;^request:uri.length[]-1).lsplit[/]]
-OK
+$children[$constr.documentElement.childNodes]
+^if($children){
+^for[i](1;^children._count[]){
+ $node[$children.$i]
+ $node.nodeName
+}
+}
+
-@tconnect[]
-#^connect[mysql://hren:pwd@hren/zz]{hren}
-^connect[mysql://]{^void:sql{show tables}}
+@thashforeach3[]
+$h[
+ $.a[1]
+ $.b[2]
+]
+$c[^table::set{a
+^h.foreach[key;value]{$value
+}}]
+$c.a
+
+@thashforeach2[]
+$h[
+ $.a[1]
+ $.b[2]
+]
+$c[
+^h.foreach[key;value]{
+ $.$key[$value]
+}
+]
+$c.b
+@thashforeach[]
+$h[
+ $.a[1]
+ $.b[2]
+]
+^h.foreach[key;value]{
+ $key=$value
+}
-@timghtmlyu[]
-^img[/i/commons_22_prev.gif][$.vspace(100)]
-@img[filename;params]
-^if(-f $filename){$thisImage[^image::measure[$filename]]^thisImage.html[$params]}
+@thashdelete[]
+$h[$.a[1] $.b[2]]
+was:
+count=^h._count[]
+b='$h.b'
-@timghtml[]
-$картинка[^image::measure[i/commons_22_prev.gif]]
-#$hash[$.alt[222]]
-#^timghtml-nested[$hash]
-^timghtml-nested[$.alt[222]]
+^h.delete[b]
-@timghtml-nested[params]
-^картинка.html[$params]
+now:
+count=^h._count[]
+b='$h.b'
-@tresult[]
-44
-$result[]
+@sappend[]
+$test[123]
+^test.save[test]
+^test.save[append;test]
-@voidtest[]
-#$var[123x]
-^var.int(4)
+@tappend[]
+$test[^table::set{a b
+a1 b1}]
+^test.save[test]
+$test[^table::set{a b
+a2 b2}]
+^test.save[append;test]
-@ttext[]
-$картинка[^image::load[background.gif]]
-^картинка.font[ ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя0123456789-+=!\"%:,.^^^;<>?@()[]'&*/^$;font.gif](5)
-^картинка.text(10;10)[ ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijkl]
-^картинка.text(10;30)[mnopqrstuvwxyzАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ]
-^картинка.text(10;50)[абвгдежзийклмнопрстуфхцчшщъыьэюя0123456789]
-^картинка.text(10;70)[!-+=!\"%:,.^^^;<>?@()[]'&*/^$!]
+@tform[]
+^if(def $form:new_file){y}{n}
+