MaxValue - property of the ExtWriteAction object
Description:
Maximum value of the variable.
Note:
Property access
for read and write.
The default value of this property is defined in the "
Maximum" configurator of this object.
If the
MaxTestEnabled is enabled then while the value is being written into the variable, it is tested for maximum allowed value
MaxValue. If the value is higher then the replacement value
MaxSubstValue is written into the variable and/or the replacement quality
MaxSubstQuality.
Example1:
Examples for obtaining this property in the script.
JavaScriptVBScriptSelect and copy to clipboard
nVal = pMe.Pm("/data/#vars/Temperature/#ext/wact").MaxValue;
// or
nVal = pMe.Pm("/data/#vars/Temperature").Extension("wact").MaxValue;
// or
nVal = pMe.Pm("/data").Item("Temperature").Extension("wact").MaxValue;
nVal = pMe.Pm("/data/#vars/Temperature/#ext/wact").MaxValue
' or
nVal = pMe.Pm("/data/#vars/Temperature").Extension("wact").MaxValue
' or
nVal = pMe.Pm("/data").Item("Temperature").Extension("wact").MaxValue
Example2:
The example for obtaining this property by
Macro expression from another data extension via
pVar variable.