Unit - property of the PmaNumber object
Description:
The unit of the object value.
Note:
Property access
for read and write.
The default value of this property is defined in the "
Unit" configurator of this object.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oNumber = pMe.Pm("/Number0");
var sUnit = oNumber.Unit;
// Reading from the property
oNumber.Unit = sUnit;
// Writing into the property
Dim oNumber
Set oNumber = pMe.Pm("/Number0")
Dim sUnit
sUnit = oNumber.Unit
' Reading from the property
oNumber.Unit = sUnit
' Writing into the property