hnlGetScaleTimeUnit
hnlGetScaleTimeUnit(t_propName) =>propValue/ nil
Description
Locates the property of the given name, using hnlGetPropVal, hnlCurrentMaster, and hnlCurrentInst, divides the value by the value of the simTimeUnit variable, and then returns the result rounded to the nearest integer. If the named property is not found, nil is returned. If simTimeUnit is set to nil, then the value of the property is returned, again rounded to the nearest integer.
If the property is of the string type, the property value is evaluated before it is scaled.
Argument
Value Returned
|
The value of the property divided by the simTimeUnit variable. The returned value is rounded to the nearest integer. |
|
Examples
hnlGetScaleTimeUnit( "l" )
Related Topics
Return to top