Description
Remove negative selector values
-
Return Type
-
A McObject object.
A McObject instance holding a selector containing only the non-negative elements of the of the varSelector argument. The returned result will be of type mcobjTypeINTEGER. The returned selector will always be a 1-D array, no matter the shape of the varSelector argument.
-
Syntax
-
object.McSqueezeSelector (Selector)
The McSqueezeSelector Method syntax has these parts: |
| object | An expression evaluating to an object of type McOMGlobal. | | Selector | Required. A Variant value. An array or scalar value where non-negative elements represent selected indices into an array and negative values represent indices not selected.
| Remarks
A selector is an array where non-negative elements represent selected indices into an array and negative values represent indices not selected. The McObject.SelectedValues method takes selectors as arguments and the logical operators (e.g., McOpEQ) return selectors.
|