So:
double delay @unit(s);
**.delay = 1ms
double delay = par("delay"); --> returns 0.001
You can still read the parameters via
par("delay").getProperties()->get("unit")->getValue(cProperty::DEFAULTKEY).
Andras
> --
> Sent from the OMNeT++ mailing list. To configure your membership,
> visit http://groups.google.com/group/omnetpp