>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; -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads