>your code should look something like:
>static Char str[12];
>[...]
>StrIToA (str, NUMBER);
>[...]
>FrmCopyLabel(formptr, labelID, str);
>
>be sure, you have initialized the label with at least 11 chars, and str is
valid as >long as the form and label respectively are alive.
>
>Stephan
FrmCopyLabel() doesn't require a static string. It makes a copy.
But you have to ensure that the original definition of the label
had enough characters defined, otherwise you will trash your
memory.
Roger Stringer
Marietta Systems, Inc.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/