--- parser3/src/www/htdocs/Attic/index.html 2001/08/09 08:20:32 1.261
+++ parser3/src/www/htdocs/Attic/index.html 2001/08/21 11:12:20 1.269
@@ -1,5 +1,25 @@
@USE
t.p
+dtf.p
+
+@main[]
+#$ORIGINS(1)
+#^func(0)
+#^tests[]
+^list[]
+
+@list[]
+$list[^file:list[.;.*\.html^$]]
+^list.menu{$list.name
}
+#^list.count[]
+
+@func[param]
+#[local]
+$local(0)
+^local.inc(1)
+#$local($local+1)
+^if($param<10){^func($param+1)}
+=$local=
@bannerSSI[][code]
$code[^file::cgi[/../cgi-bin/bbssi.pl;
@@ -21,7 +41,38 @@ document.write('');
-@main[]
+@tests[]
+$ab(123)
+${[ab]}=
+
+$хэш[$.возраст(88)] $достать[$.поле[возраст]] ^хэш.[$достать.поле].format{%05d}
+
+
+$люди[
+ $.вася[
+ $.возраст(45)
+ ]
+]
+$человек[
+ $.поле[возраст]
+]
+
+$люди.вася.[$человек.поле]
+^люди.вася.[$человек.поле].format{%010d}
+
+
+
+$unsorted[^table::set{a b
+1 1
+3 3
+2 2
+}]
+$sorted[^unsorted.sort($unsorted.a)]
+^sorted.menu{$sorted.a}[,]
+
+ =^dtf:format[aaa-%Y-bbb-%m]=
+
+
#$ORIGINS(0)
^math:random(3686)