Your TempCode array is too small.   Common error made by new
C programmers.  Also putting the '\0' character in a string constant
is unnecessary.

Try allocating 
       Char TempCode[6] = "0000";    // this is the required size + 1

Roger Stringer
Marietta Systems, Inc.

--------------------------------------------------------
>Subject: Newbie to Palm question about using variable
>From: Patrick Ouellet <[EMAIL PROTECTED]>
>Date: Wed, 12 Jul 2000 12:47:55 -0400

>Ok I tried something really easy.

>// Regular C of what I want to do.

>char TempCode[4] = "0000\0";
>int CurChar = 0;




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

Reply via email to