--- parser3/www/htdocs/Attic/_bug.html 2004/03/05 10:00:05 1.27
+++ parser3/www/htdocs/Attic/_bug.html 2004/12/23 14:40:54 1.73
@@ -1,10 +1,25 @@
-$request:charset[koi8-r]
-$response:charset[windows-1251]
+@main[]
-$SQL.connect-string[odbc://DSN=nestle^;UID=nestle^;PWD=mbm32^;ClientCharset=windows-1251]
-#$SQL.connect-string[odbc://DSN=theatre_enciclop^;UID=root^;PWD=^;bug=here]
-#^bpt[]
-^connect[$SQL.connect-string]{
- ^string:sql{select question from faq}[$.limit(1)]
+$cH[^cH[]]
+
+^if($cH.this is "junction"){
+ $result[^cH.this[$cH.th_par]]
+}{
+ $result[0]
}
-OK
+
+####################################################################################################################
+
+@cH[]
+$result[
+ $.this[$mThis]
+ $.th_par[
+ $.a(2)
+ $.b(3)
+ ]
+]
+####################################################################################################################
+
+@mThis[lparams][params]
+$params[^hash::create[$lparams]]
+$result[^eval($params.a * $params.b)]