Platforms to show: All Mac Windows Linux Cross-Platform

Back to SortMBS module.

Previous items Next items

SortMBS.CopyMBS(extends source() as Object, dest() as Object, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)

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

Does nothing if sourceCount is 0 or source array is empty.
SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to store in the destination array.

Performs bounds checking and may raise an OutOfBoundsException. You may need to resize the destination array to be big enough.

See also:

SortMBS.CopyMBS(extends source() as Ptr, dest() as Ptr, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)

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

Does nothing if sourceCount is 0 or source array is empty.
SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to store in the destination array.

Performs bounds checking and may raise an OutOfBoundsException. You may need to resize the destination array to be big enough.

See also:

SortMBS.CopyMBS(extends source() as Single, dest() as Single, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)

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

Does nothing if sourceCount is 0 or source array is empty.
SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to store in the destination array.

Performs bounds checking and may raise an OutOfBoundsException. You may need to resize the destination array to be big enough.

See also:

SortMBS.CopyMBS(extends source() as String, dest() as String, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)

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

Does nothing if sourceCount is 0 or source array is empty.
SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to store in the destination array.

Performs bounds checking and may raise an OutOfBoundsException. You may need to resize the destination array to be big enough.

See also:

SortMBS.CopyMBS(extends source() as UInt32, dest() as UInt32, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)

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

Does nothing if sourceCount is 0 or source array is empty.
SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to store in the destination array.

Performs bounds checking and may raise an OutOfBoundsException. You may need to resize the destination array to be big enough.

See also:

SortMBS.CopyMBS(extends source() as UInt64, dest() as UInt64, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)

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

Does nothing if sourceCount is 0 or source array is empty.
SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to store in the destination array.

Performs bounds checking and may raise an OutOfBoundsException. You may need to resize the destination array to be big enough.

See also:

SortMBS.CopyMBS(extends source() as Variant, dest() as Variant, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)

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

Does nothing if sourceCount is 0 or source array is empty.
SourceCount can be -2 to use array count - sourceIndex.
destIndex lets you pick where to store in the destination array.

Performs bounds checking and may raise an OutOfBoundsException. You may need to resize the destination array to be big enough.

See also:

SortMBS.EqualsArrayMBS(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.0 ✅ 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.EqualsArrayMBS(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.0 ✅ 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.EqualsArrayMBS(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.0 ✅ 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.EqualsArrayMBS(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.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Compares the content of one array to another array.
Example
Const u = 99999

Var v1(u) As Double
Var v2(u) As Double

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

// should be equal
Var b1 As Boolean = EqualsArrayMBS(v1, v2)

v1(123) = 0

// should not be equal
Var b2 As Boolean = EqualsArrayMBS(v1, v2)

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

// and this should be false
Var b5 As Boolean = EqualsArrayMBS(v1, v2, 0, 200, 0)
Var b6 As Boolean = EqualsArrayMBS(v1, 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.EqualsArrayMBS(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.0 ✅ 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.EqualsArrayMBS(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.0 ✅ 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 = EqualsArrayMBS(v1, v2)

v1(123) = 0

// should not be equal
Var b2 As Boolean = EqualsArrayMBS(v1, v2)

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

// and this should be false
Var b5 As Boolean = EqualsArrayMBS(v1, v2, 0, 200, 0)
Var b6 As Boolean = EqualsArrayMBS(v1, 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.EqualsArrayMBS(array1() as Object, array2() as Object, 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.0 ✅ 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.

Does not call Operator_Compare as this function compares object pointers.

See also:

SortMBS.EqualsArrayMBS(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.0 ✅ 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.EqualsArrayMBS(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.0 ✅ 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.EqualsArrayMBS(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.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Compares the content of one array to another array.
Example
Const u = 99999

Var v1(u) As String
Var v2(u) As String

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

// these will have same pointers, but we do compare string content if not.
v1(0) = v2(0)

// should be equal
Var b1 As Boolean = EqualsArrayMBS(v1, v2)

v1(123) = "test"

// should not be equal
Var b2 As Boolean = EqualsArrayMBS(v1, v2)

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

// and this should be false
Var b5 As Boolean = EqualsArrayMBS(v1, v2, 0, 200, 0)
Var b6 As Boolean = EqualsArrayMBS(v1, 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.EqualsArrayMBS(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.0 ✅ 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.EqualsArrayMBS(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.0 ✅ 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 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 Object, array2() as Object, 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 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:

Previous items Next items

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


The biggest plugin in space...