George, I have a utility that I just posted to http://www.pickwiki.com/cgi-bin/wiki.pl?Row2Col called ROW2COL, which may help you.
For example: CALL ROW2COL(YDATA) ;* flip the fields and values X=SUM(YDATA<2>) CALL ROW2COL(YDATA) ;* flip them back Or you could set a temporary variable and SUM on it. Rex > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of George Gallen > Sent: Wednesday, December 29, 2004 5:40 PM > To: u2-users@listserver.u2ug.org > Subject: RE: [U2] sum vs looping > > > 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 ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/