Patrick Ouellet wrote in message <[EMAIL PROTECTED]>...
>
>Ok I tried something really easy.
>
>// Regular C of what I want to do.
>
>char TempCode[4] = "0000\0";

char TempCode[5] = "0000\0";

>int CurChar = 0;
>
>if( // the button #2 is pressed )
>{
>    TempCode[CurChar] = '2';
>    CurChar++;
>}
>
>if( //the button #3 is pressed )
>{
>    TempCode[CurChar] = '3';
>    CurChar++;
>}
>
>if( // the '#' button is pressed )
>{
>    *TempCode = "0000\0";

StrCopy(TempCode, "0000");

>    CurChar = 0;
>}
>
>But no matter what I do TempCode never change.

How are you determining this?  POSE?  Alerts?




--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!





-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to