--- parser3/www/htdocs/Attic/_bug.html 2004/03/10 10:04:30 1.30
+++ parser3/www/htdocs/Attic/_bug.html 2004/12/23 14:40:54 1.73
@@ -1,11 +1,25 @@
@main[]
-$request:charset[windows-1251]
-$response:charset[windows-1251]
-$response:content-type[text/html]
-$xdoc[^xdoc::load[_bug.xml]]
-#^xdoc.string[]
-$nodes[^xdoc.select[//x:second][
- $.x[http://pif.design.ru/]
-]]
-^nodes._count[]
\ No newline at end of file
+$cH[^cH[]]
+
+^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)]