Description
Arithmetic unary operator to negate the values in this McObject, leaving the result in this McObject.
-
Return Type
-
A McObject object.
-
Syntax
-
object.OpSelfNeg
The OpSelfNeg Method syntax has these parts: |
| object | An expression evaluating to an object of type McObject. | Remarks
Unary Self Operators
The values of this McObject are all negated, and the result is left in this McObject and returned.
Exceptions
Operands must scalars or arrays of some numeric type. Operands may be arrays of VARIANT, but if they are, all elements must be of the same arithmetic type. E.g., Array( 1, 2) is OK, but Array( 1.5, 2) is not legal.
|