Max Bian <[EMAIL PROTECTED]> writes:

> It is not, but...
> 
> Isn't a good idea to have it behave just like others?  Is there a POSIX
> standard (or other standard) that the most follow?

The other side of that argument is that if it was supposed to behave
like sprintf, it would have been named sprintf, and not StrPrintF. I
believe that the behavior of sprintf is defined in the ANSI C
spec. However, the behavior of StrPrintF is defined in the PalmOS
Reference Manual. 

I've been bitten by the incompatibilities myself, and have learned that
unless the function has the exact name as an ANSI function, I shouldn't
expect it to behave like one (MemSet anyone?).

-- 
Dave Carrigan ([EMAIL PROTECTED])            | Yow! It don't mean a THING if
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | you ain't got that SWING!!
Seattle, WA, USA                            | 
http://www.rudedog.org/                     | 

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