alvals←{            ⍝ Values of names ⍵ in association list ⍺.
    names vals←⍺    ⍝ name vector and corresponding values.
    vals[names⍳⍵]   ⍝ leftmost value for each name.
}
code_colours

test script

Back to: notes

Back to: Workspaces