rmcm←{                          ⍝ APL source with comments removed.
    cm←∨\(⍵='⍝')>≠\⍵=''''       ⍝ mask of comments.
    ⎕UCS(cm×32)+(~cm)×⎕UCS ⍵    ⍝ blanks for comments in source matrix.
}

code_colours

test script

Back to: notes

Back to: Workspaces