Is there a way to use the arguments to a generic module to conditionally
compile blocks of code in that module .


for eg
generic module MyTimerM(typedef precision_tag, int val1    ) @safe()
{
}
implementation
{
  # if val1
     //some code here
  #endif




Thanks in advance
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to