Click or drag to resize

IMcOMGlobalMcMax Method

Returns the maximum element in one or two argument arrays

Namespace:  MediaCy.IQL.ObjectManager
Assembly:  MediaCy.IQL.ObjectManager (in MediaCy.IQL.ObjectManager.dll) Version: 10.0.6912.0
Syntax
VB
Function McMax ( 
	varNumbers1 As Object,
	<OptionalAttribute> varNumbers2 As Object
) As McObject

Parameters

varNumbers1
Type: SystemObject
May be a scalar or array of any numeric type. It may also be an McObject instance of a numeric type.
varNumbers2 (Optional)
Type: SystemObject
Optional argument. May be a scalar or array of any numeric type. It may also be an McObject instance of a numeric type. If the type differs from that of varNumbers1, then it is cast to that type.

Return Value

Type: McObject
A scalar value giving the maximum element found in the argument(s).
Remarks
The varNumbers1 and optional varNumbers2 arguments (which may be a scalar or an array of arthmetic values) are scanned to find the maximum element found in either of them. If the type of varNumbers2 differs from varNumbers1, then it is cast to the type of varNumbers1 before being scanned for the maximumum.
See Also