ValueRange Module
Sets an optional minimum, maximum, increment or value set on a value range and returns the union of several value ranges.
Functions and values
| Function or value |
Description
|
Full Usage:
setOptIncr incr vr
Parameters:
Increment option
-
The optional Increment
vr : ValueRange
-
The ValueRange
Returns: ValueRange
|
Sets an optional increment value for the value range
|
Full Usage:
setOptMax max vr
Parameters:
Maximum option
-
The optional Maximum
vr : ValueRange
-
The ValueRange
Returns: ValueRange
|
Sets an optional maximum value for the value range
|
Full Usage:
setOptMin min vr
Parameters:
Minimum option
-
The optional Minimum
vr : ValueRange
-
The ValueRange
Returns: ValueRange
|
Sets an optional minimum value for the value range
|
Full Usage:
setOptVs vs vr
Parameters:
ValueSet option
-
The optional ValueSet
vr : ValueRange
-
The ValueRange
Returns: ValueRange
|
Sets an optional value set for the value range
|
Full Usage:
unionRanges maxCount vrs
Parameters:
int
vrs : ValueRange list
Returns: ValueRange
|
Returns the union of value ranges. When every range is a value set, or a min, increment and max with fewer than maxCount values, the union is one value set. Otherwise the union runs from the lowest minimum to the highest maximum with the increments of all ranges; it has no minimum, maximum or increment when one of the ranges has none.
|
GenPRES