Platforms to show: All Mac Windows Linux Cross-Platform

Back to SortMBS module.

Next items

SortMBS.CopyArrayMBS(source() as Boolean, dest() as Boolean, 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.0 ✅ 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.CopyArrayMBS(source() as Color, dest() as Color, 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.0 ✅ 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.CopyArrayMBS(source() as Currency, dest() as Currency, 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.0 ✅ 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.CopyArrayMBS(source() as Double, dest() as Double, 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.0 ✅ 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.CopyArrayMBS(source() as Int32, dest() as Int32, 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.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Copies the content of one array to another array.

nDoes 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.one

See also:

SortMBS.CopyArrayMBS(source() as Int64, dest() as Int64, 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.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Copies the content of one array to another array.
Example
Var s() As Integer
Var d() As Integer

Redim s(100)

For i As Integer = 1 To 100
s(i) = i
Next

Redim d(s.ubound)

// copy all starting 20th and put at 10th in destination
CopyArrayMBS s, d, 20, -2, 10

// copy 10 entries starting 30th and put at 40th in destination
CopyArrayMBS s, d, 30, 10, 40

// copy all
CopyArrayMBS s, d

Break

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.CopyArrayMBS(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.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Copies the content of one array to another array.
Example
Var s() As Pair
Var d() As Pair

Redim s(100)

For i As Integer = 1 To 100
s(i) = New pair(i,i)
Next

Redim d(s.ubound)

// copy all starting 20th and put at 10th in destination
CopyArrayMBS s, d, 20, -2, 10

// copy 10 entries starting 30th and put at 40th in destination
CopyArrayMBS s, d, 30, 10, 40

// copy all
CopyArrayMBS s, d

Break

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.CopyArrayMBS(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.0 ✅ 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.CopyArrayMBS(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.0 ✅ 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.CopyArrayMBS(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.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Copies the content of one array to another array.
Example
Var s() As String
Var d() As String

Redim s(100)

For i As Integer = 1 To 100
s(i) = i.ToString
Next

Redim d(s.ubound)

// copy all starting 20th and put at 10th in destination
CopyArrayMBS s, d, 20, -2, 10

// copy 10 entries starting 30th and put at 40th in destination
CopyArrayMBS s, d, 30, 10, 40

// copy all
CopyArrayMBS s, d

Break

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.CopyArrayMBS(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.0 ✅ 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.CopyArrayMBS(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.0 ✅ 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.CopyArrayMBS(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.0 ✅ 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 Boolean, dest() as Boolean, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)   New in 24.2

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 Color, dest() as Color, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)   New in 24.2

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 Currency, dest() as Currency, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)   New in 24.2

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 Double, dest() as Double, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)   New in 24.2

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 Int32, dest() as Int32, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)   New in 24.2

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 Int64, dest() as Int64, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)   New in 24.2

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.
Example
Var n() As Integer = Array(1,2)
Var a() As Integer = Array(3,4)

Call n.CopyMBS(a)

Break // check n in debugger

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:

Next items

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


The biggest plugin in space...