DIMENSIONS
The DIMENSIONS function returns the boolean result of a condition applied to the size of a set.
For example, in this snippet:
var workingSet = CLONE(ALL);
if(DIMENSIONS(workingSet, ">", 2)) {
...
}
the DIMENSIONS function returns True if workingSet contains more than two domains.
The syntax is:
DIMENSIONS(set, operator, number)
where:
setis a set variable.numberis an integer number.operatoris one of the following comparison operators to be enclosed in quotation marks:
| Operator | Description |
|---|---|
= |
Equal |
<> |
Not equal |
> |
Greater than |
>= |
Greater than or equal |
< |
Less than |
<= |
Less than or equal |