H Helmut.J. New Member Licensed User Longtime User Mar 14, 2014 #1 hello together, I want to initialize a 2-dimensional array with some fixed data like dim array(3,2) as int = ((1,2),(2,3),(3,5)) But it doesnt work... any help? Thanks in advance Helmut.J
hello together, I want to initialize a 2-dimensional array with some fixed data like dim array(3,2) as int = ((1,2),(2,3),(3,5)) But it doesnt work... any help? Thanks in advance Helmut.J
derez Expert Licensed User Longtime User Mar 14, 2014 #2 The Array keyword works for one dimension, see documentation\keywords\array: Array Creates a single dimension array of the specified type. The syntax is: Array As type (list of values). Example: Dim Days() As String Days = Array As String("Sunday", "Monday", ...) Click to expand... Upvote 0
The Array keyword works for one dimension, see documentation\keywords\array: Array Creates a single dimension array of the specified type. The syntax is: Array As type (list of values). Example: Dim Days() As String Days = Array As String("Sunday", "Monday", ...) Click to expand...
stevel05 Expert Licensed User Longtime User Mar 14, 2014 #3 Have a look here: http://www.b4x.com/android/forum/threads/filling-arrays-the-easy-way.28006/#post162302 Upvote 0
Have a look here: http://www.b4x.com/android/forum/threads/filling-arrays-the-easy-way.28006/#post162302