[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] global variable??



Hi, 

I got one problem. I define a variable in class NsObject, then in the network 
interface I change the value of this variable, then in Mac layer I want to see 
this changed value but it seems unchanged. Now I wonder whether we can use 
global variable in ns2, so if one layer change the value of this variable, 
another layer will know it??

Thanx a lot for help,

Kai