Hello All,
I'am new to B4A. I want to know how to create an array but in a Type mode.
For exemple in vb6 I create This :
Type Name
Variable1 As String
Variable2 As Integer
Variable3 As Double
End Type
Then you assigned the Type to a variable or Array :
Dim arrayName() As Name
Then I could Use it like this
For I = 0 To 5
arrayName(I).Variable1 = "Var" & I
arrayName(I).Variable1 = I
arrayName(I).Variable1 = I + 0.05
Next I
I was wondering if there's a way to do this in B4A ??
Thanks for the Response
I'am new to B4A. I want to know how to create an array but in a Type mode.
For exemple in vb6 I create This :
Type Name
Variable1 As String
Variable2 As Integer
Variable3 As Double
End Type
Then you assigned the Type to a variable or Array :
Dim arrayName() As Name
Then I could Use it like this
For I = 0 To 5
arrayName(I).Variable1 = "Var" & I
arrayName(I).Variable1 = I
arrayName(I).Variable1 = I + 0.05
Next I
I was wondering if there's a way to do this in B4A ??
Thanks for the Response