Platforms to show: All Mac Windows Linux Cross-Platform

Back to SortMBS module.

SortMBS.EqualsMBS(extends array1() as Boolean, array2() as Boolean, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Sort MBS Util Plugin 24.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Compares the content of one array to another array.

Returns true if they are equal in the given range.

SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to start in the destination array.

Performs bounds checking and may raise an OutOfBoundsException.

See also:

SortMBS.EqualsMBS(extends array1() as Color, array2() as Color, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Sort MBS Util Plugin 24.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Compares the content of one array to another array.

Returns true if they are equal in the given range.

SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to start in the destination array.

Performs bounds checking and may raise an OutOfBoundsException.

See also:

SortMBS.EqualsMBS(extends array1() as Currency, array2() as Currency, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Sort MBS Util Plugin 24.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Compares the content of one array to another array.

Returns true if they are equal in the given range.

SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to start in the destination array.

Performs bounds checking and may raise an OutOfBoundsException.

See also:

SortMBS.EqualsMBS(extends array1() as Double, array2() as Double, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Sort MBS Util Plugin 24.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Compares the content of one array to another array.

Returns true if they are equal in the given range.

SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to start in the destination array.

Performs bounds checking and may raise an OutOfBoundsException.

See also:

SortMBS.EqualsMBS(extends array1() as Int32, array2() as Int32, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Sort MBS Util Plugin 24.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Compares the content of one array to another array.

Returns true if they are equal in the given range.

SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to start in the destination array.

Performs bounds checking and may raise an OutOfBoundsException.

See also:

SortMBS.EqualsMBS(extends array1() as Int64, array2() as Int64, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Sort MBS Util Plugin 24.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Compares the content of one array to another array.
Example
Const u = 99999

Var v1(u) As Integer
Var v2(u) As Integer

For i As Integer = 0 To u
v1(i) = i
v2(i) = i
Next

// should be equal
Var b1 As Boolean = v1.EqualsMBS(v2)

v1(123) = 0

// should not be equal
Var b2 As Boolean = v1.EqualsMBS(v2)

// should be equal
Var b3 As Boolean = v1.EqualsMBS(v2, 200, -2, 200)
Var b4 As Boolean = v1.EqualsMBS(v2, 0, 100, 0)

// and this should be false
Var b5 As Boolean = v1.EqualsMBS(v2, 0, 200, 0)
Var b6 As Boolean = v1.EqualsMBS(v2, 1) // <- offet one in first array

Break

Returns true if they are equal in the given range.

SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to start in the destination array.

Performs bounds checking and may raise an OutOfBoundsException.

See also:

SortMBS.EqualsMBS(extends array1() as Ptr, array2() as Ptr, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Sort MBS Util Plugin 24.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Compares the content of one array to another array.

Returns true if they are equal in the given range.

SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to start in the destination array.

Performs bounds checking and may raise an OutOfBoundsException.

See also:

SortMBS.EqualsMBS(extends array1() as Single, array2() as Single, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Sort MBS Util Plugin 24.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Compares the content of one array to another array.

Returns true if they are equal in the given range.

SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to start in the destination array.

Performs bounds checking and may raise an OutOfBoundsException.

See also:

SortMBS.EqualsMBS(extends array1() as String, array2() as String, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Sort MBS Util Plugin 24.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Compares the content of one array to another array.

Returns true if they are equal in the given range.

SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to start in the destination array.

Performs bounds checking and may raise an OutOfBoundsException.

See also:

SortMBS.EqualsMBS(extends array1() as UInt32, array2() as UInt32, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Sort MBS Util Plugin 24.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Compares the content of one array to another array.

Returns true if they are equal in the given range.

SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to start in the destination array.

Performs bounds checking and may raise an OutOfBoundsException.

See also:

SortMBS.EqualsMBS(extends array1() as UInt64, array2() as UInt64, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Sort MBS Util Plugin 24.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Compares the content of one array to another array.

Returns true if they are equal in the given range.

SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to start in the destination array.

Performs bounds checking and may raise an OutOfBoundsException.

See also:

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...