michael brown wrote: > > ----- Original Message ----- > From: "Also-Antal Csaba" > > But if I want change the value of temperature in the struct, with this: > > (*house[index].numb).temperature=temp; > > I get this message: > > varibles.c: 108: Can't generate code for this expression (error) > > Doesn't picc allow you to say: > > house[index]->numb->temperature=temp > > (I think this is correct, but you have a complex setup) This correct, but dont work. varibles.c: 107: pointer required (error) varibles.c: 107: pointer required (error) varibles.c: 107: attempt to modify const object (warning) udv Csaba -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads