Mats, I think (foggy recollection) that it was the difference between DUMMY='' CHK=1 ARR='' FOR I = 1 TO 10000 ARR<I>=CHAR(MOD((I-1),26)+65) NEXT I * Check time here FOR I = 1 TO 10000 DUMMY=ARR<I> NEXT I * Check time here FOR I = 1 TO 10000 UNTIL CHK = 0 DUMMY=REMOVE(ARR, CHK) NEXT I * Check time here
I think I remember using the REMOVE was faster because of the way UV walks along a dynamic array to get attributes past the first one. I was told UV starts at the beginning each time because the position of each attribute mark is only determined by the field's contents. Anyway thanks for replying. Thanks also to the others who replied. I appreciate your input and guidance. Jef. ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/