file←{ ⍝ Apply operand function to native file tie. tie←⍵ ⎕NTIE 0 ⍝ open file. rslt←⍺⍺ tie ⍝ operate on file. rslt⊣⎕NUNTIE tie ⍝ close and return result. } code_colours test script Back to: notes Back to: Workspaces