Hi, with str1[2][5] in main: you can access at str[0][...] or str[1], not str[2], this is out of the array. arrays begin at 0 and go to size-1. char x[10]; for(i=0; i<10; i++) { ... } ----- Mensaje original ----- De: "Dipperstein, Michael" Para: Enviado: Jueves 25 de Octubre de 2001 6:02 PM Asunto: Re: Problem with strings with hi-tech -----8<------- > > Using PIC-C 7.87PL2, I wrote the following code: > > #include > > const unsigned char Str1 [2][6] = {"Hello", "Bye "}; > > void main(void) > { > int i; > > i = (Str1[2][3] == 'q'); > return; > } > -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics