B4R Question fill in (initialize) array - any built-in function in libs ?

peacemaker

Expert
Licensed User
Longtime User
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:
Top