--- parser3/src/www/htdocs/Attic/index.html 2001/10/13 15:12:50 1.389 +++ parser3/src/www/htdocs/Attic/index.html 2001/10/16 08:18:09 1.395 @@ -1,7 +1,6 @@ -@main[] -#^tintdefault[] -#$response:status[404] -^ifpasshash[] +@main[] ^imageresize[] +#^ifassignhash[] #^tintdefault[] #$response:status[404] +#^ifpasshash[] #^movedir[] #^replace[] #^set[] @@ -31,12 +30,34 @@ #^header[] OK +@imageresize[] +$k(2) +$pict[^image::create(400*$k;200*$k)] +$pict.line-width(2) +^pict.arc($pict.width/2;$pict.height/2;$pict.width-1;$pict.height-1;0;360;0x000000) +^pict.arc($pict.width/2;$pict.height/2;$pict.width-10;$pict.height-10;0+10;360-10;0xff0000) +#^pict.arc($pict.width/2;$pict.height/2;$pict.width;$pict.height;0;360;0xff0000) +^pict.circle($pict.width/2;$pict.height/2;$pict.height/2-10;0x0000ff) +^pict.arc($pict.width/2;$pict.height/2;$pict.height-26;$pict.height-26;0+10;360-10;0xff0000) +#$response:body[^pict.gif[]] + +$small[^image::create($pict.width/$k;$pict.height/$k)] +#^small.copy[$pict](0;0;$pict.width;$pict.height;0;0;$pict.width;$pict.height) +^small.copy[$pict](0;0;200;100;0;0) + +$response:body[^small.gif[]] + + @tintdefault[] #$abc[abc] $abc[33] ^abc.int[z] #^abc.int(123) +@ifassignhash[] +$h[^if(1){$.a(1);$.a(2)}] +$h.a + @ifpasshash[] $a[$.e[a]] $b[$.e[b]] @@ -245,7 +266,7 @@ $people[^xdoc.select[*/man]] ^show-xnodes1[$people]
#^people.0.owner.hren[] -^show-xnode1[^xdoc.select-single[*/man[2]/name];0;1]
+^show-xnode1[^xdoc.selectSingle[*/man[2]/name];0;1]
by id: ^show-xnode1[^xdoc.getElementById[1];0;1]