--- parser3/www/htdocs/Attic/_bug.html 2004/12/23 14:51:32 1.74 +++ parser3/www/htdocs/Attic/_bug.html 2006/04/09 13:38:48 1.117 @@ -1,41 +1,42 @@ -@print[title;hash][key;value] -

$title ^hash.foreach[key;value]{$key}[ | ]

-=$hash.[zzz].rrggbb= -@main[] -$table[^table::create{color rrggbb -red ff0000 -green 00ff00 -blue 0000ff -_default 000000} +$hash[ + $.1(1) + $.2(2) ] +^hash.foreach[k;v]{ + k=$k,v=$v^break[];! +} -$c_hash[ - $.red[ - $.color[red] - $.rrggbb[ff0000] - ] - $.green[ - $.color[green] - $.rrggbb[00ff00] - ] - $.blue[ - $.color[blue] - $.rrggbb[0000ff] - ] - $._default[ - $.color[_default] - $.rrggbb[000000] - ] -] - -$a_hash[^table.hash[color]] -^print[a_hash:;$a_hash] - -$b_hash[^hash::create[]] +$table[^table::create{a +1 +2 +3}] ^table.menu{ - ^b_hash.add[$.[$table.color][$table.fields]] + <$table.a^if($table.a==2){^break[]!}> +}[,] +------------- + +^while(1<2){ + $i($i+1) + ^if(1<3){ + { + <$i^if($i==3){^break[]}> + } + } } -^print[b_hash:;$b_hash] -^print[c_hash:;$c_hash] \ 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[];! +}