OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000217OMNeT++simulation kernelpublic2010-11-29 15:482011-02-17 09:06
zbojthe 
andras 
normalmajoralways
resolvedfixed 
4.1 
4.2b1 
0000217: NED: wrong evaluetion context when deep parameter assigment used
EXAMPLE:

...
    submodules:
        srvHost[numCli]: ThroughputServer {
            parameters:
                wlan.mac.address = "20:00:00:00:00:0"+string(index);
                mobility.x = 350 * index / numCli;
        }
...

index and numCli do not refer to srvHost as they should, but to mobility.
No tags attached.
Issue History
2010-11-29 15:48zbojtheNew Issue
2011-02-17 09:06andrasNote Added: 0000389
2011-02-17 09:06andrasStatusnew => resolved
2011-02-17 09:06andrasFixed in Version => 4.2b1
2011-02-17 09:06andrasResolutionopen => fixed
2011-02-17 09:06andrasAssigned To => andras

Notes
(0000389)
andras   
2011-02-17 09:06   
Parameter references, the "index" operator, etc are now evaluated in the right context (where the expression occurs).