--- parser3/www/htdocs/Attic/_bug.html 2004/03/10 10:42:12 1.31 +++ parser3/www/htdocs/Attic/_bug.html 2006/04/09 13:38:48 1.117 @@ -1,10 +1,42 @@ -@main[] -$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[] +$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[];! +}