OBJECT SET MAXIMUM VALUE
OBJECT SET MAXIMUM VALUE ( {* ;} object ; maxValue )
Parameter | Type | Description | |
---|---|---|---|
* | Operator | → | If specified, object is an object name (string) If omitted, object is a field or variable |
object | any | → | Object name (if * is specified) or Field or variable (if * is omitted) |
maxValue | Date, Time, Number | → | Maximum value for object |
Description
The OBJECT SET MAXIMUM VALUE command modifies the maximum value of the object(s) designated by the object and * parameters for the current process.
The "Maximum Value" property can be applied to number, date or time type data. For more information, refer to Maximum and minimum values in the Design Reference manual.
Passing the optional * parameter indicates that the object parameter is an object name (string). If you do not pass this parameter, it indicates that the object parameter is a field or variable. In this case, you pass a field or variable reference instead of a string (field or variable object only).
In maxValue, pass the new maximum value you want to assign to the object for the current process. This value must correspond to the object type, otherwise error 18 "Field types are incompatible" is returned.
See also
OBJECT GET MAXIMUM VALUE
OBJECT SET MINIMUM VALUE
Properties
Command number | 1244 |
Thread safe | ✗ |