At 7:10 PM -0800 2/19/02, Joe wrote:
>--- Keith Rollin wrote:
>  > The documentation is pretty clear on this.  Under FileRead, it says
>  > "if successful, returns a handle to an open file stream; otherwise,
>  > returns 0".
>  >
>  > -- Keith
>  >
>
>I am shocked and amazed to find that I am now in the position to add
>something to what Keith said.  To wit:
>
>(From the Reference)
>"In some cases, on some platforms, FileOpen returns a non-zero value
>when it has failed to open a file; thus, it is always a good idea to
>check the errP parameter value to determine if an error has occurred."

I blame my tools.  :-)  Going to <http://www.palmos.com/dev> and 
performing an online search for "FileOpen" turns up four matches, 
none of which include the text you cite.  I'm sure you're correct, 
but our own Web site doesn't confirm it.

-- Keith

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