--- parser3/src/www/htdocs/Attic/index.html 2001/09/08 16:08:23 1.296.2.5 +++ parser3/src/www/htdocs/Attic/index.html 2001/09/18 15:24:37 1.296.2.12 @@ -1,7 +1,18 @@ @main[] +#^locals[] +^fori[] +#^imagepoly[] +#^dconst[] +#^subnameinexpr3[] +#^subnameinexpr2[] +#^subnameinexpr[] +#^statictest[] +#^istable[] +#^line[] +#^emptyprotocol[] #^emptytableisnotdef[] #^autoconvemptystring[] -^tdupleform[] +#^tdupleform[] #^tvoiddefault[] #^testdom0[] #^testlocal[0] @@ -33,6 +44,81 @@ #^tests[] #^func(0)
+@locals[][i] +$i[33] +^locals2[] +$i + +@locals2[][i] +$i[44] +$i + +@fori[][i] +#$i(0) +$j(0) +#^while($i<=9){ +#^while($j<1){ +^for[i](0;9){ +=$i= +^j.inc[] +#^i.inc[] +#} +} + +@imagepoly[] +$i[^image::create[200;200]] +$i.line-style[******* ] +^i.polyline(0)[^table::set{x y +50 50 +100 50 +150 150 +}] +#^i.line(50;50;100;50;0) +$response:body[^i.gif[]] + +@dconst[] +$hash[ +$.a(0xe) +] +$hash.a + + +@subnameinexpr3[] +^use[/chart.p] +$test[^chart::init[1;2;$.zz[]]] + +@subnameinexpr2[] +^use[/test.p] +$test[^test::subnameinexpr2[]] +$test.c + +@subnameinexpr[] +$hash[ + $.a[1] + $.b[2] +] +$c($CLASS.hash.a+$hash.b) +$c + +@statictest[] +^use[/test.p] +$test[^test::create[]] + +@istable[] +^istable_nested[^table::set{hren}] +@istable_nested[param] +^if($param is table){y2;n2} + +@line[] +$êàðòèíêà[^image::create(200;200)] +$êàðòèíêà.line-width(2) +^êàðòèíêà.line(0;0;$êàðòèíêà.width;$êàðòèíêà.height;0)[**** * ] +$response:body[^êàðòèíêà.gif[]] + + +@emptyprotocol[] +^connect[]{zz} + @emptytableisnotdef[] $table[^table::set[nameless]{}] ^if(def $table){y;n} @@ -112,8 +198,8 @@ $result[] ^var.int(4) @ttext[] -$êàðòèíêà[^image::load[/i/commons_22_prev.gif]] -^êàðòèíêà.font[ ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ0123456789-+=!\"%:,.^^^;<>?@()[]'&*/^$;/i/font.gif](5) +$êàðòèíêà[^image::load[background.gif]] +^êàðòèíêà.font[ ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ0123456789-+=!\"%:,.^^^;<>?@()[]'&*/^$;font.gif](5) ^êàðòèíêà.text(10;10)[ ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijkl] ^êàðòèíêà.text(10;30)[mnopqrstuvwxyzÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞß]