There should be no difference between a C for loop and a nesC one: nesC is a C dialect. I have no idea what your problem might be; I think that's people's concern, that the bug is actually elsewhere for some reason. Could you provide a full file?
Phil ------- Philip Levis Associate Professor Computer Science and Electrical Engineering Stanford University http://csl.stanford.edu/~pal On Dec 1, 2013, at 12:50 PM, nivedita datta <sweetniv...@gmail.com> wrote: > uint8_t i; > uint8_t in[16] = > {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}; > > for (i=0; i<10; i++) { > in[i] = i; } _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help