Click or drag to resize

IMcObjectOpSelfConcat Method

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

Namespace:  MediaCy.IQL.ObjectManager
Assembly:  MediaCy.IQL.ObjectManager (in MediaCy.IQL.ObjectManager.dll) Version: 10.0.6912.0
Syntax
VB
Function OpSelfConcat ( 
	RightOperand As Object
) As McObject

Parameters

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

Return Value

Type: McObject
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.
Examples
VB
Dim mcobjLeft As McObject
Set mcobjLeft =  GlobalTools.McObjectTemp( Array(1, 3))
varRight = Array(8, 20)
mcobjLeft.OpSelfConcat  varRight
' Show Operation McObject Result = 1,3,8,20
MsgBox( "Operation McObject Result = " + GlobalTools.McToText(mcobjLeft)).Value
' Show Result nDims: 1 Dim sizes: -4
MsgBox( "Result nDims: " + Str( mcobjLeft.Shape(mcobjSIC_NofDims)) + _
" Dim sizes: " + GlobalTools.McToText( mcobjLeft.Shape(mcobjSIC_SizeAllDims))).Value
See Also

Reference

IMcObjectOpSelfConcat(Object)
McOpSmallerOf
McOpAndBits
McOpConcatConcat
McOpAND