Description

Binary operator to concatenate values to this McObject, leaving the result in this McObject.

Return Type

A McObject object.  

Syntax

object.OpSelfConcat (RightOperand)

The OpSelfConcat Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McObject.
RightOperandRequired. A Variant value.

Right operand. May be a scalar or array of any numeric type. It may also be an McObject instance of a numeric type.

Remarks

The elements of the VARIANT varRightOperand are concatenated to this McObject, and the resulting array is returned.

This operator is basically for concatenating scalars or 1-dimensional arrays. Use the OpSelfConcatConcat or McOpConcatConcat to add “Rows” to a 2-dimensional array.

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.