In Core/System/SysUtils.h you will find:

Boolean SysBinarySearch (void const *baseP, Int16 numOfElements, Int16 width,
                                SearchFuncPtr searchF, void const *searchData,
                                Int32 other, Int32 *position, Boolean findFirst)
                 

On Wed, Jun 06, 2001 at 09:17:03AM -0400, Phillip Streck wrote:
> ahh, ok.  i knew there was a name for it. :)
> 
> Philip Streck
> Akron General Medical Center
> Information Systems
> 
> >>> "Richard Burmeister" <[EMAIL PROTECTED]> 06/06/01 09:11AM >>>
> > From: Phillip Streck
> >
> > Thanks for all the input, what i ended up doing was using a
> > search algorithm similiar to the Quick Sort algorithm... i'm not
> > sure what its called, but i'm sure it has a name.
> >
> 
> FYI, Phillip, the code you posted is a binary search.  It is "binary"
> because it divides the area to be searched in half each time it goes through
> the loop.
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/

-- 


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