Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site watmath.UUCP Path: utzoo!watmath!ljdickey From: ljdickey@watmath.UUCP (Lee Dickey) Newsgroups: net.lang.apl,net.unix Subject: Re: how do you define a function? Message-ID: <7910@watmath.UUCP> Date: Thu, 31-May-84 09:49:16 EDT Article-I.D.: watmath.7910 Posted: Thu May 31 09:49:16 1984 Date-Received: Sat, 2-Jun-84 08:29:20 EDT References: <444@islenet.UUCP> Organization: U of Waterloo, Ontario Lines: 19 I am just learning about apl\11 too. I have not figured out how to use the file editing to define a function, but I have learned that I can use the QuadFX to define the function that you described. I defined a character matrix 2 3 rho 'F X+/X' and did a QuadFX on it. The function worked as I expected. I did find, however, that the minus scan does not give the expected results. The expression - \ 1 2 3 gives 1 1 2 which has a sign wrong in the middle element. An analogous problem exists with "divide scan". -- Lee Dickey, University of Waterloo. (ljdickey@watmath.UUCP) ... {allegra, decvax} !watmath!ljdickey