> StrChr is an instruction which allow you to search a character within a
> string.
>
> If you want to add '\n' in msg you should use StrCat.
Agus,
As Joe pointed out in this thread, WinDrawChars will not process a newline
character ('\n') as one might expect and will instead keep all of the text
on a single line, rendering a box character where the newline characters
appear in the string. The function I posted is an alternative to
WinDrawChars that will process a newline character. That is why "StrChr"
(and not StrCat) is used -- to find the location of the newline characters
in the string.
You should make the attempt to understand what the code does before posting
corrections.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/