--- parser3/src/www/htdocs/Attic/index.html 2001/10/09 09:23:21 1.374 +++ parser3/src/www/htdocs/Attic/index.html 2001/10/11 12:43:28 1.385 @@ -1,6 +1,13 @@ @main[] +^set[] +#^hash[]
+#$t[^methresult[]] ->$t +#^terror[] +#^ssave[] +#^calendar[] +#^thash[] #^tdef[] -^ford[] +#^ford[] #^tif[] #^image[] #^mail2[] @@ -19,6 +26,76 @@ #^header[] OK +@set[] +^setdata[] +^a.add[$b] +add:$a.3
+ +^setdata[] +^a.sub[$b] +sub2:$a.2
+sub1:$a.1
+ +^setdata[] +$c[^a.union[$b]] +union3:$c.3
+union2:$c.2
+ +^setdata[] +$c[^a.intersection[$b]] +intersection3:$c.3
+intersection2:$c.2
+ +^setdata[] +intersects:^if(^a.intersects[$b]){y;n}
+intersects2:^if(^a.intersects[ ]){y;n}
+ + +
+ +@setdata[] +$a[$.1[a1] $.2[a2]] +$b[ $.2[b2] $.3[b3]] + + +@hash[] +$h[^hash::create[$._default[123]]] +$h.paf[not kretin] +$h.paf
+=$h.that=
+ +@methresult[] +$result[^table::set{1}] + +@terror[] +^error[method z must be called with z] + +@syntax1[] +#^a[^b] + +@syntax2[] +#^a[ + +@ssave[] +$abc[abc] +^abc.save[abc] + +@calendar[] +2001;11:
+$week_days[^date:calendar[rus](2001;11)] +
+^week_days.menu{^for[wday](0;7){^if($week_days.$wday){$week_days.$wday; ^; ^;} }
} +
+ +@thash[] +$table[^table::set{id name age +1 paf 278 +2 пиф 234 +}] +$hash[^table.hash[id;^table::set[nameless]{id +name}]] +$hash.2.id $hash.2.name $hash.2.age + @tdef[] $s[0] if 0=^if($s){}{n}
@@ -33,8 +110,11 @@ if def 0=^if(def $s){y}{}
@image[] $pict[^image::create(400;200)] -^pict.arc($pict.width/2;$pict.height/2;$pict.width;$pict.height;0;360;0x000000) -^pict.circle($pict.width/2;$pict.height/2;$pict.height/2-5;0x000000) +^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[]] @@ -63,7 +143,7 @@ $env:HTTP_COOKIE
@xslt[] ^xdata[] -^show-xdoc2[^xdoc.transform[global.xsl]] +^show-xdoc2[^xdoc.transform[global.xsl;$.param1[123/]]] @regexp2[] $s[ select]