--- parser3/www/htdocs/Attic/_bug.html 2004/03/23 09:43:44 1.33
+++ parser3/www/htdocs/Attic/_bug.html 2004/12/23 14:40:54 1.73
@@ -1,17 +1,25 @@
-@main2[]
-^switch[2]{
- ^case(1){one}
- ^case[DEFAULT]{def}
+@main[]
+
+$cH[^cH[]]
+
+^if($cH.this is "junction"){
+ $result[^cH.this[$cH.th_par]]
+}{
+ $result[0]
}
+####################################################################################################################
-@get[]
+@cH[]
$result[
- $._default{^math:random(10)}
+ $.this[$mThis]
+ $.th_par[
+ $.a(2)
+ $.b(3)
+ ]
]
-#end @getBasketData[]
-
-@main[]
-$h[^get[]]
+####################################################################################################################
-=$h.1=
\ No newline at end of file
+@mThis[lparams][params]
+$params[^hash::create[$lparams]]
+$result[^eval($params.a * $params.b)]