you might find that the compiler does it slightly better than you can, viz:

   arrayOfRecIndexes[currentRecord].invalid =
   recP->price > search.maxPrice
   || recP->qty < search.minQty...;

> Could it be the MemHandleLock() and
> MemHandleUnlock() for each record that is taking so much time?

yes. if this is array is being referenced by a callback routine, you might
want to for a tristate solution.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to