I posted this message before but I forgot to include the [PIC] tag. Sorry about that! I just bought C18 compiler from Microchip and tried to write a very simple C code (see below). I expect to see variable c to get assigned with different characters (H, e, l, l, o), but it is not happening. Could you tell me what I did wrong? Regards, Thomas #include void function(unsigned char *input) { unsigned char c; while (*input) { c = *input++; } } void main (void) { function("Hello"); while(1) {} } --------------------------------- Do you Yahoo!? Exclusive Video Premiere - Britney Spears -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body