Hi all!

I am currently trying to work with some strings and I have a question
regarding the use of TxtSetNextChar.  When using this function, how do you
terminate the string if you set characters in the string that are after the
previous end of the string?  For example:

If I have a string that currently reads:
    "Hello"
and I use TxtSetNextChar to set the string to:
    "Hello World"
how do I terminate the string or does this function automatically do that
for you?

Would I use code like:
    TxtSetNextChar (string, offset, NULL);
?

I realize this example isn't exactly practical (as there are other ways to
go about adding " World" to the end of a string), however in my application
I will need to add to the end of my string using TxtSetNextChar.

Thank you very much in advance for all your help.

Sandra Webb



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