--- parser3/www/htdocs/Attic/index.html 2002/03/18 15:29:46 1.22 +++ parser3/www/htdocs/Attic/index.html 2002/03/26 12:19:07 1.26 @@ -7,7 +7,9 @@ $response:charset[windows-1251] $response:content-type[$.value[text/html]$.charset[$response:charset]] @main[] -^exceptions1[] +#^roll2[] +^rolls[] +#^exceptions1[] #^locate_by_expr[] #^method_junction_params{...} #^verifyCookie[paf] @@ -109,18 +111,59 @@ $response:content-type[$.value[text/html
OK +@roll2[] +$d[^date::create(2002;4;2;2;2;3)] ^d.sql-string[]
+^d.roll[day](-2) ^d.sql-string[]
+ + +@rolls[] +$d[^date::create(2002;4;4)] +^d.sql-string[]
+^for[i](1;7){ +^d.roll[day](-1) +^d.sql-string[]
+} +
+$d[^date::create(2002;3;28)] +^d.sql-string[]
+^for[i](1;7){ +^d.roll[day](+1) +^d.sql-string[]
+} +
+$d[^date::create(2002;12;3)] +^d.sql-string[]
+^for[i](1;14){ +^d.roll[day](-1) +^d.sql-string[]
+} +
+$d[^date::create(2002;10;19)] +^d.sql-string[]
+^for[i](1;14){ +^d.roll[day](+1) +^d.sql-string[]
+} + + + + + + @exceptions1[] ^try{ aaa - ^throw[user;paf;is stupid] + ^throw[custom1;paf;is stupid] }{ -$exception.handled(1) -#^throw[$exception] - type=$exception.type
- source=$exception.source
- file=$exception.file
- lineno=$exception.lineno
- comment=$exception.comment
+ ^if($exception.type eq custom1){ + $exception.handled(1) +# ^throw[$exception] + type=$exception.type
+ source=$exception.source
+ file=$exception.file
+ lineno=$exception.lineno
+ comment=$exception.comment
+ } } @locate_by_expr[]