W woodpecker Member Licensed User Longtime User Oct 1, 2011 #1 Hi folks, Is there an equivalent to ArrayLen in b4a? Just need to find an array length. Is there a reference somewhere to look this simple stuff up?
Hi folks, Is there an equivalent to ArrayLen in b4a? Just need to find an array length. Is there a reference somewhere to look this simple stuff up?
Erel B4X founder Staff member Licensed User Longtime User Oct 1, 2011 #2 Yes, arrays support the Length property: B4X: Dim arr(10) As Int For i = 0 To arr.Length - 1 Log(arr(i)) Next I believe that it should appear in this thread: Converting VB6 to B4A Upvote 0
Yes, arrays support the Length property: B4X: Dim arr(10) As Int For i = 0 To arr.Length - 1 Log(arr(i)) Next I believe that it should appear in this thread: Converting VB6 to B4A