christy wrote:
The problem is being that StrCat(str, P[i]) doesn'tI dunno, this just looks a little weird. StrCat is like StrCopy except it adds to the previous string. If you want only 1 character, would this work in place of the StrCat line?
compile and StrCat(str, &P[i]) gives me the whole
string P instead of just one char.
Char * P = TblGetItemPtr(table, row, column);
for (i = 0; i < len; i++) {
if (P[i] == '~') ...
else
StrCat(str, &P[i]);
Hope some of you can help me out here.
*(str++) = P[i];
*(str) = 0;
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
