On Tue, 16 Apr 2002, Aaron Ardiri wrote:
> > FtrGet is documented as returning 0 if no error. Can someone check
> > the source to see whether it actually returns errNone (in which case
> > I'll raise a documentation bug).
>
> um.. i thought it was supposed to return:
>
> ftrErrNoSuchFeature
>
> which, is (ftrErrorClass | 2) or, more specifically 0x0C02
> i am not to sure what documentation your reading, but, i have
> always known it to be the result above.. never errNone if there
> is no feature available..
page 603 of Palm OS Programmer's API Reference (July 23, 2001)
---
Result: Returns 0 if no error, or ftrErrNoSuchFeature if the specified
feature number doesn't exist for the specified creator.
---
i believe thats been that way since the docs with 3.0 :) but, i
re-read your question, and, 0 is the same as errNone :P errNone
is a #define to 0
it might be more "clear" to developers if the documentation was
to say it returns "errNone" :) if that was your point..
// az
[EMAIL PROTECTED]
http://www.ardiri.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/