strcpy syntax error

Started by December 31, 2003
hi all
i am using a PIC 18f252 ,c18 compiler and mplab v6.4 IDE .
When i do strcpy(buf,"1234567") the compiler gives me an error of type
mismatch and syntax error.
why is it so ?
how can it be done other than initialising them when they are being

krishna --------------------------------
mail2web - Check your email from the web at .