--- parser3/src/www/htdocs/Attic/index.html 2001/10/31 14:42:05 1.454
+++ parser3/src/www/htdocs/Attic/index.html 2001/11/01 14:59:58 1.458
@@ -1,5 +1,7 @@
@main[]
-^connect[mysql://user:pass@host/db]{^void:sql{z} }
+^thashforeach[]
+#^thashdelete[]
+#^connect[mysql://user:pass@cd.rinet.ru/db]{^void:sql{z} }
#^tappend[]
#^sappend[]
#^eval(10\3)
@@ -53,6 +55,27 @@
#^header[]
OK
+@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]