In article <002501c034cc$a4aabec0$546dc918@videotron.ca> you write: >I started by defining a char array (char string[10]; works ok) and then >tried to assign it a value (string = 'Hello!'; not ok). >Is this a normal behaviour for a PIC C compiler ? Do the Hitec and CCS >compiler support strings ? Firstly, C uses " as the string constant delmiter. Secondly, there is no string assignment operator in C. You need to call a subroutine. Try: strcpy(string, "Hello!"); Note that you can initialize a character array with a string constant: char string[10] = "Hello!"; You can also point a character pointer to (the first character of) a string constant: char *stringp; stringp = "Hello!"; Before you start declaring bugs in a compiler, you should at least try to learn the language first. -- Blars Blarson blarson@blars.org http://www.blars.org/blars.html "Text is a way we cheat time." -- Patrick Nielsen Hayden -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu