Platforms to show: All Mac Windows Linux Cross-Platform

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

// failes
Dim b() As Integer = Array(1,2,3.0)
Notes:
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

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo Chart Plugins

Start Chat