Skip to content

Quick Puzzle

Vector 15:1, page 5

competitions and puzzles

Transcribed from the printed issue; not yet reviewed. Read it in the PDF of the issue, page 5

APL usually boasts at least one other way of doing the same thing.

Given a keyboard with the ⍎ (execute) and ⎕ (quad) keys being inaccessible, how would you convert incoming character scalar integers (including ones specified as blanks) to numbers?