Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mmintl.UUCP Path: utzoo!linus!philabs!pwa-b!mmintl!franka From: franka@mmintl.UUCP (Frank Adams) Newsgroups: net.lang,net.lang.apl Subject: Re: Reading programs left-to-right. Message-ID: <609@mmintl.UUCP> Date: Mon, 19-Aug-85 18:30:08 EDT Article-I.D.: mmintl.609 Posted: Mon Aug 19 18:30:08 1985 Date-Received: Fri, 23-Aug-85 04:48:05 EDT References: <6571@boring.UUCP> <29800001@ISM780.UUCP> Reply-To: franka@mmintl.UUCP (Frank Adams) Followup-To: net.lang.apl Organization: Multimate International, E. Hartford, CT Lines: 10 Xref: linus net.lang:1499 net.lang.apl:132 Summary: Not really what you expect In article <29800001@ISM780.UUCP> darryl@ISM780.UUCP writes: >In APL, i_i+1,0 rho a[i] _ i does just exactly what you expect it to. >Of course, nobody writes it that way in APL... (Oh, interpret the "_"s >to be left arrows; anyone remember when teletypes had left arrows and >not underscores?) Well, not quite what you expect; if i was a scalar before, it is now a vector with 1 element. And if i is a two dimensional array, you will get an error. (I realize this wasn't intended as an example of good programming practice; but it is a good example of bad programming practice.)