--- parser3/www/htdocs/Attic/_bug.html 2004/06/18 15:55:47 1.48
+++ parser3/www/htdocs/Attic/_bug.html 2004/12/23 14:40:54 1.73
@@ -1,16 +1,25 @@
-^connect[oracle://mts_imprimatur2:imp2@mts]{
-# ^void:sql{create table paf(a clob)}
-# ^void:sql{insert into paf (a) values (/**a**/'a')}
-# ^void:sql{insert into paf (a) values (:unk)}
- ^void:sql{delete from pif}
- ^void:sql{call paf(:a)}[
- $.bind[
- $.a[2]
- ]
- ]
- ^int:sql{select count(*) from pif}
- "^string:sql{select a from pif}"
+@main[]
+
+$cH[^cH[]]
-# ^string:sql{select a from paf}
- OK
+^if($cH.this is "junction"){
+ $result[^cH.this[$cH.th_par]]
+}{
+ $result[0]
}
+
+####################################################################################################################
+
+@cH[]
+$result[
+ $.this[$mThis]
+ $.th_par[
+ $.a(2)
+ $.b(3)
+ ]
+]
+####################################################################################################################
+
+@mThis[lparams][params]
+$params[^hash::create[$lparams]]
+$result[^eval($params.a * $params.b)]