--- parser3/src/www/htdocs/Attic/index.html 2001/09/11 08:49:22 1.308
+++ parser3/src/www/htdocs/Attic/index.html 2001/11/01 14:59:58 1.458
@@ -1,33 +1,532 @@
@main[]
-#^testdom3[]
-#^testdom2[]
-#^testdom1[]
-^testdom0[]
+^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[]
+#$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
-@testdom3[]
-$dom[^dom::load[test.xml]]
-$dom[^dom.xslt[test.xsl;$.param1(48)]]
-$dom[^dom.xslt[test.xsl;$.param1(48)]]
-
-@testdom2[]
-$dom[^dom::load[test.xml]]
-#^dom.save[$.encoding[windows-1251];write.xml]
-#^dom.save[;write.xml]
-^dom.save[$.encoding[windows-1251] $.method[xml];write.xml]
-^dom.save[$.encoding[windows-1251] $.method[html];write.html]
-^dom.save[$.encoding[windows-1251] $.method[text];write.txt]
-
-@testdom1[]
-$dom[^dom::load[test.xml]]
-$dom[^dom.xslt[test.xsl;$.param1(48)]]
-$response:body[^dom.file[windows-1251]]
-
-@testdom0[]
-$dom[^dom::load[test.xml]]
-^dom.save[$.encoding[windows-1251];write.xml]
-^dom.string[$.encoding[windows-1251]]
-$файл[^dom.file[$.encoding[windows-1251]]]
-^файл.save[binary;writefile.xml]
-$response:body[$файл]
-OK
\ No newline at end of file
+@thashforeach[]
+$h[
+ $.a[1]
+ $.b[2]
+]
+^h.foreach[key;value]{
+ $key=$value
+}
+
+@thashdelete[]
+$h[$.a[1] $.b[2]]
+was:
+count=^h._count[]
+b='$h.b'
+
+^h.delete[b]
+
+now:
+count=^h._count[]
+b='$h.b'
+
+@sappend[]
+$test[123]
+^test.save[test]
+^test.save[append;test]
+
+@tappend[]
+$test[^table::set{a b
+a1 b1}]
+^test.save[test]
+$test[^table::set{a b
+a2 b2}]
+^test.save[append;test]
+
+
+@tform[]
+^if(def $form:new_file){y}{n}
+