Ok... append my previous response to say You SHOULDN'T allocate an array dynamically. All arrays SHOULD be statically allocated using constant.....
Kevin On 9/13/07, David Gay <[EMAIL PROTECTED]> wrote: > On 9/13/07, Kevin Klues <[EMAIL PROTECTED]> wrote: > > You can't allocate an array dynamically. All arrays must be > > statically allocated using constant sizes defined at compile time. > > Well actually we don't do anything to *prevent* you from calling > malloc, assuming the libc for your platform includes one. We just > discourage it (because we think it's likely to impact reliability), > and provide compile-time-allocation alternatives... (essentially > generic components and the "magic" unique and uniqueCount functions) > > David Gay > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- ~Kevin _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
