Hi,

>static char * itemName[20];
>Int16 icheck;
> for (int i=0;i<20;i++)
> {
> char my[10];
> char *conStr;
> 
> StrIToA(my, icheck);
> StrCopy(conStr,my);
> 
> if(icheck == 0)
> itemName[icheck]="Hello1"; 
> else if(icheck == 1)
> itemName[icheck]=" Hello2"; 
> else if(icheck == 2)
> itemName[icheck]=" Hello3"; 
> else 
> itemName[icheck]= conStr; 
> }

StrIToA(my, icheck);
StrCopy(conStr,my);

sorry, I made a mistake typing the code here.

Apperiate ur time.

venkat

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to