|
|
| version 1.74, 2004/12/23 14:51:32 | version 1.111, 2005/12/16 10:15:12 |
|---|---|
| Line 1 | Line 1 |
| @print[title;hash][key;value] | $entry_data[^xdoc::create[doc]] |
| <p>$title ^hash.foreach[key;value]{$key}[ | ]</p> | |
| =$hash.[zzz].rrggbb= | |
| @main[] | ^for[i](1;60){ |
| $table[^table::create{color rrggbb | $node[^entry_data.createElement[span$i]] |
| red ff0000 | |
| green 00ff00 | |
| blue 0000ff | |
| _default 000000} | |
| ] | |
| $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.menu{ | |
| ^b_hash.add[$.[$table.color][$table.fields]] | |
| } | } |
| ^print[b_hash:;$b_hash] | |
| ^print[c_hash:;$c_hash] | |
| $entry_data[çààààááóóóóäü] | |
| ^memory:compact[] |