Newsgroups: comp.lang.apl
Path: watmath!watserv2.uwaterloo.ca!watserv1!blkcat!f70.n109.z1.fidonet.org!David.Michelson@uunet.UU.NET
From: David.Michelson@f70.n109.z1.fidonet.org (David Michelson)
Subject: Control Stuctures in APL
Message-ID: <734283300.AA03137@blkcat.UUCP>
Originator: daemon@watserv1.uwaterloo.ca
Sender: blkcat!Uucp@uunet.UU.NET
Organization: University of Waterloo
Date: Thu, 8 Apr 1993 13:40:35 GMT

There ARE some control structures in APL:

All dialects support array handling:  1000 + iota 25   does a kind of DO loop.
                                      +/ iota 100      does another.

Some dialects support diamond:  you can only branch to a line beginning,
  allowing you to do setup stuff no one can interrupt and branch past.

Modern dialects support the each operator:  MYSTEPS each ARGSTRING runs the
steps in the user defined fn on each of the elements of the argument string
(which may be a vector of character matrices, or ANYTHING).  This does another
kind of DO loop.  Such dialects also support  MYSTEPS / argstring.
