As well as using the REMOVE statement (which I find awkward to use on
associated MVs) there are also the dynamic vector statements [talking UV
here - don't know bout UD]. These are normally used in I-types but may
also be used in BASIC, either as functions or called subroutines. They
work on any level of a dynamic array and are several orders of magnitude
faster than using for/next loops.

Eg. 
* orderLineQty = 1]2]1]3.5 ...
* prodValues = 230]324]234]123...
* taxMultiple = 1.1
orderLineValue = muls(orderLineQty,prodValue)
orderLineNet    = muls(reuse(taxMultiple),orderLineValue)

>-----Original Message-----
>Some time ago, someone posted code showing a very fast way to process
>all the attributes in a record.  
>Please tell me where to go or reply with the method you used.

 
**********************************************************************
This email message and any files transmitted with it are confidential and 
intended solely for the use of addressed recipient(s). If you have received 
this communication in error, please reply to this e-mail to notify the sender 
of its incorrect delivery and then delete it and your reply.  It is your 
responsibility to check this email and any attachments for viruses and defects 
before opening or sending them on. Spotless collects information about you to 
provide and market our services. For information about use, disclosure and 
access, see our privacy policy at http://www.spotless.com.au 
Please consider our environment before printing this email. 
********************************************************************** 
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to