> From: Igor Mozolevsky
>
> --Jimi Malcolm wrote:
>
> > FrmSetTitle(FrmGetActiveForm(), "My Title");
> >
> > without the "\0" would probably work just as well.
>
> Doubt it very much!.. How would the API know when the string ends?
>
Igor, Jimi is correct. (At least the CodeWarrior C & C++ compilers, and the
only other C compiler I've used, all correctly recognize that "My Title" is
a string and interpret it as 'M', 'y', ' ', 'T', 'i', 't', 'l', 'e', '\0').
I think this is required by the ANSI standard, but I haven't memorized the
standard so I could be wrong.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/