Thanks! I'll try that (don't recall what I have findFirst set to
currently). Should this not be documented somewhere? Or did I miss it? 

I have noticed that when Palm update docs they tend to document the
'latest and greatest' OS version and don't seem too concerned with older
versions (well there's compatibility appendix sure but that's pretty
bare-bones imho).

Stuart Nicholson
Programmer
Firepad, Inc.

-----Original Message-----
From: Robert McKenzie [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 06, 2000 10:53 PM
To: Palm Developer Forum
Subject: RE: Is SysBinarySearch broken in older Palm OS?


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/

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