MORE.CENTS = (CENTS # "") LOOP WHILE MORE.CENTS DO CENT = REMOVE(CENTS, MORE.CENTS) QTY = REMOVE(QTYS, BUFF) DISC = REMOVE(DISCS, BUFF) Etc. REPEAT
David A. Green (480) 813-1725 DAG Consulting -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve Romanow Sent: Wednesday, March 02, 2011 3:36 PM To: U2 Users List Subject: Re: [U2] REMOVE() was Is This Worth Rewriting I tried to drink the KoolAid and use REMOVE on some projects, but found a show stopper on UDT6.1. I cannot remember the specifics. Oh, I remember, In cases where you are addressing aligned mv's with your loop variable it was not saving you that much because you still need extract the other vars. Does that make sense? If you have 4 aligned mv's. You only gain on the 1st, but still have 3 extracts per iteration. It was cleaner just to keep the FOR loop. One more reason I am pushing to do my business logic in python where I have a whole lot more options in data structures. _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users