peacemaker Expert Licensed User Longtime User Oct 29, 2020 #1 HI, All Do we have any ready finction to pre-fill the array ? To use variable length arrays storing them in a long array of the fixed length. B4X: Or just use ? Sub Fill_Zero(ar() As Byte) For i = 0 To ar.Length - 1 ar(i) = 0 Next End Sub Last edited: Oct 29, 2020
HI, All Do we have any ready finction to pre-fill the array ? To use variable length arrays storing them in a long array of the fixed length. B4X: Or just use ? Sub Fill_Zero(ar() As Byte) For i = 0 To ar.Length - 1 ar(i) = 0 Next End Sub
Erel B4X founder Staff member Licensed User Longtime User Oct 29, 2020 #2 Your solution is good and will be extremely fast. Start with GlobalStore or Queue (https://www.b4x.com/android/forum/threads/module-queue-list.81334/#content) Upvote 0
Your solution is good and will be extremely fast. Start with GlobalStore or Queue (https://www.b4x.com/android/forum/threads/module-queue-list.81334/#content)