Re: [Tinyos-help] Globals -- (was: generic behavior in a non-generic component)

2010-06-21 Thread Michael Schippling
In re: creating real global variables under NESCC. WOW! I think you've got it. Almost anyway... I'm pretty sure I tried the (sort of obvious) method of [declar,defin}ing a variable outside of the module{}implementation{} block in a .nc file, ala: includes RoboMsg; static int foolish;

Re: [Tinyos-help] Globals -- (was: generic behavior in a non-generic component)

2010-06-21 Thread Eric Decker
what you are running into is the order the files are scanned. If you do the .h business then you include that and it doesn't matter because your include file is protected against being included twice. On Mon, Jun 21, 2010 at 12:22 PM, Michael Schippling sc...@santafe.eduwrote: In re: creating