What is needed is a VSUM() command, or vertical sum. Say X=VSUM(YDATA,2) and it will add up all the numbers vertically that are in <x,2> of the dynamic array.
George >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Bruce Nichol >Sent: Wednesday, December 29, 2004 5:17 PM >To: [email protected] >Subject: RE: [U2] LOOP or GOTO on READNEXT > > >Goo'day, > >At 10:00 29/12/04 -0600, you wrote: > >>I love it when folks use a loop to add up vm's. And not the >simple Sum >>command. Seen that a bit in the code I work in. > >I don't think SUM has been with us (vanilla Pick, for example) >for that >long..... > >><snip> >>-- >>No virus found in this incoming message. >>Checked by AVG Anti-Virus. >>Version: 7.0.290 / Virus Database: 265.6.5 - Release Date: 26/12/04 > >Regards, > >Bruce Nichol >Talon Computer Services >ALBURY NSW 2640 >Australia > >http://www.taloncs.com.au > >Tel: +61 (0)411149636 >Fax: +61 (0)260232119 > >If it ain't broke, fix it till it is! > > >-- >No virus found in this outgoing message. >Checked by AVG Anti-Virus. >Version: 7.0.290 / Virus Database: 265.6.5 - Release Date: 26/12/04 > > > > >-- >No virus found in this outgoing message. >Checked by AVG Anti-Virus. >Version: 7.0.290 / Virus Database: 265.6.5 - Release Date: 26/12/04 >------- >u2-users mailing list >[email protected] >To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
