I already try this and it also doesn't work. ----- Original Message ----- From: "Pfaff, John" To: Sent: Thursday, October 25, 2001 4:27 PM Subject: Re: Problem with strings with hi-tech > Try this: > > const unsigned char Str1 [2][5] =3D {"Hello\0", "Bye \0"}; > > That should put an explicit NULL at the end of each string. > > Microchip wrote: > > > > I want to declare an array of strings like : > > > > const unsigned char Str1 [2][5] =3D {"Hello", "Bye "}; > > > > My problem is the compilator doesn't put the null caracter (\0) at en= d of each string. > > > > I also try : > > > > const unsigned char Str1 [2][6] =3D {"Hello", "Bye "}; > > > > but it also doesn't work. > > > > Please can someone help me? > > > > Jonathan Poulin > > Technicien en =E9lectronique et programmeur > > Nova Biomatique Inc > > jpoulin@novabiomatique.com > > > > -- > > 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 > > -- > 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 > > -- 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