Android Question Declare Array of int?

MarkusR

Well-Known Member
Licensed User
Longtime User
some docu you find in beginners guide v3
10.3.2 Array variables
2 dimensional array
B4X:
Public Matrix(3, 3) As Double
runtime array one dimensional
B4X:
Public Name() As String  Name = Array As String("Miller", "Smith", "Johnson", "Jordan")
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
... and If you need to declare a multi-dimensional array as parameter of a routine (function)?
Sub MySub(TwoDimensions(,) As Int ThreeDimentions(,,) As Int) As Int (,)
The return Array is two dimensional.
 
Upvote 0
Top