sam{                           ⍝ Select and modify.
    ⍺←⊢                         ⍝ id function for missing ⍺.
    array←⍵                     ⍝ 'name' array argument.
    (⍺ ⍺⍺ array)←⍵⍵ ⍺ ⍺⍺ array  ⍝ modify selected part of array.
    array                       ⍝ return updated value.
}

code_colours

test script

Back to: notes

Back to: Workspaces