--- parser3/src/www/htdocs/Attic/index.html 2001/08/10 12:36:56 1.266
+++ parser3/src/www/htdocs/Attic/index.html 2001/08/21 11:12:20 1.269
@@ -2,6 +2,25 @@
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;
$.QUERY_STRING[d=1&H=ad1.lbe.ru&pubid=91033&pg=1&vbn=26&num=1&w=-1&h=-1&r=ssi&i=http://go.bb.ru/images/onerror/bb.gif&g=http://www.bb.ru&before=&after=&bafter=]
@@ -22,8 +41,11 @@ document.write('');
-@main[]
-$хэш[$.возраст(88)] $достать[$.поле[возраст]] ^хэш.($достать.поле).format{%05d}
+@tests[]
+$ab(123)
+${[ab]}=
+
+$хэш[$.возраст(88)] $достать[$.поле[возраст]] ^хэш.[$достать.поле].format{%05d}
$люди[
@@ -35,8 +57,8 @@ $человек[
$.поле[возраст]
]
-$люди.вася.($человек.поле)
-^люди.вася.($человек.поле).format{%010d}
+$люди.вася.[$человек.поле]
+^люди.вася.[$человек.поле].format{%010d}