alget←{                 ⍝ Value for key ⍵ in association list ⍺.
    keys vals←⍺         ⍝ keys vector and corresponding values
    (keys⍳⊂⍵)vals      ⍝ :: val ← list ∇ key
}

code_colours

test script

Back to: notes

Back to: Workspaces