|
|
| version 1.32, 2004/03/19 12:23:04 | version 1.102, 2005/11/22 11:12:40 |
|---|---|
| Line 1 | Line 1 |
| @main[] | ^for[i](1;200){ |
| $soft(1) | <hr> |
| ^cache[/cache/soft-$soft.id](86400){ | $original[^for[j](1;$i){$j}] |
| ^math:random(1000); | $original |
| <br> | |
| $encoded[^string:base64[$original]] | |
| $encoded | |
| <br> | |
| $decoded[^encoded.base64[]] | |
| $decoded | |
| ^if($decoded ne $original){^throw[bug;here]} | |
| } | } |
| #^xdoc::load[a.xml] | |
| @main2[] | |
| ^connect[odbc://DSN=test_dbf]{ | |
| ^int:sql{select count(*) from test} | |
| } | |
| @mainx[] | |
| $request:charset[windows-1251] | |
| $response:charset[windows-1251] | |
| $response:content-type[text/html] | |
| $xdoc[^xdoc::load[_bug.xml]] | |
| #^xdoc.string[] | |
| $xdoc.search-namespaces.x[http://pif.design.ru/] | |
| $nodes[^xdoc.select[//x:second]] | |
| ^nodes._count[] | |
| @main[] | |
| ^bug.bug[] | |
| @main[] | |
| $d[^date::unix-timestamp(1079695550.808)] | |
| #$d[^date::unix-timestamp(1079695983.321)] | |
| ^d.sql-string[] | |
| @main[] | |
| ^date::now[] | |