Hello all
I'm trying to use the list object by adding to the list an item than define by type
Actually once I added new item ,all the previous items in list become the
some as the new inserted item.
This is my simple code that demonstrate the problem
Am i using the list in the right way?
Thank
avner shmuel
Sub Process_Globals
Type equation_group(name As String,pictur_file As String)
Dim list1 As List
Dim group_test As equation_group
Dim i As Int
End Sub
Sub Activity_Create(FirstTime As Boolean)
group_test.Initialize
list1.Initialize
For i= 1 To 10
group_test.name="n"& i
group_test.pictur_file="p"& i
list1.Add(group_test)
Next
End Sub
I'm trying to use the list object by adding to the list an item than define by type
Actually once I added new item ,all the previous items in list become the
some as the new inserted item.
This is my simple code that demonstrate the problem
Am i using the list in the right way?
Thank
avner shmuel
Sub Process_Globals
Type equation_group(name As String,pictur_file As String)
Dim list1 As List
Dim group_test As equation_group
Dim i As Int
End Sub
Sub Activity_Create(FirstTime As Boolean)
group_test.Initialize
list1.Initialize
For i= 1 To 10
group_test.name="n"& i
group_test.pictur_file="p"& i
list1.Add(group_test)
Next
End Sub
Last edited: