I'm pretty sure that you cannot pass a null string as an argument to StrCat.
Does your program check for that? Other than that, somewhere in the "some
code in between", you are not setting parameters up correctly for the if
statements to evaluate to true.
Regards,
Steve
-----Original Message-----
From: Patrick Ouellet [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 13, 2000 7:47 AM
To: Palm Developer Forum
Subject: The new "Newbie to Palm question ..."
Ok...
I'll try to make myself clear... well better than I did before
I made this
char TempCode[5] = "";
int CurChar = 0;
//Some code between
// if it's button labeled 1
StrCat( TempCode, "1");
CurChar++;
//if its button labeled 2
StrCat(TempCode, "2");
CurChar++;
//some code after
ok.. the problem is that TempCode value is always ""
whatever I do...it's value doesn't change...
So does CurChar... always 0
What didn't i understand
--
Patrick Ouellet, Programmeur/Analyste
D�partement: Recherche & D�veloppement
Les Entreprises Microtec Inc.
4780 rue St-F�lix, St-Augustin, Qc, G3A-2J9
(418) 864-7644 poste 130
[EMAIL PROTECTED]
http://www.microtecsecurite.com/
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/