Platforms to show: All Mac Windows Linux Cross-Platform

ArrayInt64MBS(paramArray values as Int64) as Int64()

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method XojoRuntime MBS Util Plugin 20.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates an array with given values.
Example
// works
Dim a() As Int64 = ArrayInt64MBS(1, 2, 3.0)

// failes
Dim b() As Int64 = Array(1,2,3.0)

With picking the right array function (ArrayDoubleMBS, ArrayStringMBS, ArrayInt64MBS, ArrayVariantMBS or ArrayIntegerMBS), you define what type of array you like. The Array function determinates the type based on value types, so it often isn't what we want.

Pass as many parameters as needed, just like Array() function.

Blog Entries

Xojo Developer Magazine

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


The biggest plugin in space...