Annotation of parser3/www/htdocs/_bug.html, revision 1.74

1.74    ! paf         1: @print[title;hash][key;value]
        !             2: <p>$title ^hash.foreach[key;value]{$key}[ | ]</p>
        !             3: =$hash.[zzz].rrggbb=
        !             4: 
1.73      paf         5: @main[]
1.74    ! paf         6: $table[^table::create{color    rrggbb
        !             7: red    ff0000
        !             8: green  00ff00
        !             9: blue   0000ff
        !            10: _default       000000}
        !            11: ]
        !            12: 
        !            13: $c_hash[
        !            14:        $.red[
        !            15:                $.color[red]
        !            16:                $.rrggbb[ff0000]
        !            17:        ]
        !            18:        $.green[
        !            19:                $.color[green]
        !            20:                $.rrggbb[00ff00]
        !            21:        ]
        !            22:        $.blue[
        !            23:                $.color[blue]
        !            24:                $.rrggbb[0000ff]
        !            25:        ]
        !            26:        $._default[
        !            27:                $.color[_default]
        !            28:                $.rrggbb[000000]
        !            29:        ]
        !            30: ]
1.73      paf        31: 
1.74    ! paf        32: $a_hash[^table.hash[color]]
        !            33: ^print[a_hash:;$a_hash]
1.73      paf        34: 
1.74    ! paf        35: $b_hash[^hash::create[]]
        !            36: ^table.menu{
        !            37:        ^b_hash.add[$.[$table.color][$table.fields]]
1.73      paf        38: }
1.74    ! paf        39: ^print[b_hash:;$b_hash]
1.73      paf        40: 
1.74    ! paf        41: ^print[c_hash:;$c_hash]

E-mail: