|
|
| version 1.4, 2004/02/18 12:56:34 | version 1.117, 2006/04/09 13:38:48 |
|---|---|
| Line 1 | Line 1 |
| @main[] | |
| $request:charset[UTF-8] | |
| #$response:charset[UTF-8] | |
| $response:charset[windows-1251] | |
| $response:content-type[$.value[text/html]$.charset[$response:charset]] | |
| $xdoc[^xdoc::create{<?xml version="1.0"?> | |
| <doc> | |
| <br/> | |
| </doc> | |
| }] | |
| $xdoc[^xdoc.transform[_bug.xsl]] | |
| ^xdoc.string[] | |
| <hr> | |
| $request:charset/$response:charset | |
| $hash[ | |
| $.1(1) | |
| $.2(2) | |
| ] | |
| ^hash.foreach[k;v]{ | |
| k=$k,v=$v^break[];! | |
| } | |
| $table[^table::create{a | |
| 1 | |
| 2 | |
| 3}] | |
| ^table.menu{ | |
| <$table.a^if($table.a==2){^break[]!}> | |
| }[,] | |
| ------------- | |
| ^while(1<2){ | |
| $i($i+1) | |
| ^if(1<3){ | |
| { | |
| <$i^if($i==3){^break[]}> | |
| } | |
| } | |
| } | |
| ^for[i](1;3){ | |
| $i before | |
| ^if($i==2){^continue[]} | |
| after | |
| }[,] | |
| $response:paf[test] | |
| $response:paf[] | |
| --- | |
| $hashfile[^hashfile::open[hf]] | |
| $hashfile.1(1) | |
| $hashfile.2(2) | |
| ^hashfile.foreach[k;v]{ | |
| k=$k,v=$v^break[];! | |
| } |