--- parser3/www/htdocs/Attic/_bug.html 2004/03/19 12:23:04 1.32 +++ parser3/www/htdocs/Attic/_bug.html 2006/04/09 13:38:48 1.117 @@ -1,34 +1,42 @@ -@main[] -$soft(1) -^cache[/cache/soft-$soft.id](86400){ -^math:random(1000); -} -#^xdoc::load[a.xml] -@main2[] -^connect[odbc://DSN=test_dbf]{ -^int:sql{select count(*) from test} +$hash[ + $.1(1) + $.2(2) +] +^hash.foreach[k;v]{ + k=$k,v=$v^break[];! } -@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[] +$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[]}> + } + } +} -@main[] -^date::now[] \ No newline at end of file +^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[];! +}