To do a binary search in a sorted database, use DmFindSortPosition to do the
binary search, passing it the same compare function you used to sort the
database. Pay special attention to the note in the docs about subtracting
one from the result when using DmFindSortPosition to find an existing
record.
--
Danny



-- 
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