© 1975 by British Computer Society
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
Towards structured programs in APL

1 IBM Systems Development Division, Poughkeepsie, New York State, USA, 2 Intersystems B.V., Herengracht 244, Amsterdam, Netherlands
This paper takes the programming language viewpoint of APL and assesses its functional capabilities with respect to the necessary requirements, in terms of programming language constructs, for writing structured programs.
A language extension, in the form of two new primitive functions, is defined so as to improve APL in this respect. The functions and their composition provide many interesting programming constructs, including the if-then-else.
Received May 1973. revised April 1974.
* Now at IBM Systems Development Division, Poughkeepsie, New York State, U.S.A.
Now at Intersystems B.V., Herengracht 244, Amsterdam 1003, The Netherlands.
¶ Department of Computing and Control, Computing Science Section, Imperial College of Science and Technology, 48 Prince's Gardens, London SW7 1LU