Hi all.
How to get the index of the last item of specific dimension of multidimensional array?
For example in vb the code is:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
What is the equivalent to Ubound in b4a?
If i try
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
MyArray.Length gives me the number of items of the first dimension only. 
How to get the length of the second or any other dimension of a multidimensional array?
			
			How to get the index of the last item of specific dimension of multidimensional array?
For example in vb the code is:
			
				B4X:
			
		
		
		Dim MyArray(5,5) as Integer
For I = 0 to Ubound(MyArray , 1)
   For J = 0 to Ubound(MyArray , 2)
      'Some code here
   Next J
Next IWhat is the equivalent to Ubound in b4a?
If i try
			
				B4X:
			
		
		
		Dim MyArray( 6, 6) as Int
For I = 0 to MyArray.Length -1
   For J = 0 to MyArray.Length -1
      'Some code
   Next
NextHow to get the length of the second or any other dimension of a multidimensional array?
 
				 
 
		 
 
		 
 
		