yes -- it returns an index off by one, depending on the parity
of the sought index

if you ask SysBinarySearch to "find first" (set the last paramater to true),
the bug doesn't manifest.

-robert mckenzie
<[EMAIL PROTECTED]>

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Stuart
Nicholson
Sent: Thursday, July 06, 2000 2:27 PM
To: Palm Developer Forum
Subject: Is SysBinarySearch broken in older Palm OS?


Say, is it my imagination or does SysBinarySearch behave incorrectly in
PalmOSes prior to 3.3?

I ask because I have a piece of code that behaves itself under 3.3 and
3.5 but seems to give me the wrong returned search indexes under 3.0
(using the same database). Have searched the knowledge base but couldn't
find any mention.

I'd post code but I'm not sure what use it would be as this problem only
seems to manifest itself under certain OS versions...

Any help appreciated!

Stuart Nicholson
Programmer
Firepad, Inc.


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