--- parser3/www/htdocs/Attic/_bug.html 2004/03/05 10:00:05 1.27 +++ parser3/www/htdocs/Attic/_bug.html 2006/04/09 13:38:48 1.117 @@ -1,10 +1,42 @@ -$request:charset[koi8-r] -$response:charset[windows-1251] -$SQL.connect-string[odbc://DSN=nestle^;UID=nestle^;PWD=mbm32^;ClientCharset=windows-1251] -#$SQL.connect-string[odbc://DSN=theatre_enciclop^;UID=root^;PWD=^;bug=here] -#^bpt[] -^connect[$SQL.connect-string]{ - ^string:sql{select question from faq}[$.limit(1)] +$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[];! } -OK