--- parser3/www/htdocs/Attic/index.html 2002/09/16 15:21:36 1.139
+++ parser3/www/htdocs/Attic/index.html 2002/09/17 09:30:07 1.141
@@ -235,10 +235,45 @@ $response:charset[windows-1251]
#^newxor[]
#^mail2[]
#^exec[]
-^passpost[]
+#^passpost[]
+#^menudelim[]
+#^fordelim[]
+#^duplicatetable2hashkey[]
+^duplicatehashsqlkey[]
OK
+@duplicatehashsqlkey[]
+^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{
+ $t[^table::sql{select * from news}]
+ $c[^t.columns[]]
+ ^c.menu{$c.column}[,]
+
+ $h[^hash::sql{select news_type_id, name from news}]
+}
+
+@duplicatetable2hashkey[]
+$t[^table::create{a b
+1 2
+1 3
+}]
+^t.hash[a;b]
+
+@menudelim[]
+$t[^table::create{a
+1
+2
+3
+4
+5
+}]
+
+^t.menu{^if($t.a<3){}{$t.a}}[,]
+
+@fordelim[]
+^for[a](0;6){^if($a<3){}{$a}}[,]
+
+
@passpost[]