Carlos Ojea wrote: > > >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) > > Did you try just without the '*'?: > (house[index].numb).temperature = temp; That is not work, because this expresion need a pointer. The house[0].numb array contains the address of the ship1 stuct. 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