I am having problem comparing objects in vectors and adding new ones, without dupe data.
For example..
3 dates with data as object in order in a vector.
I need to add the missing dates with the data from the previous date(but adding a day to the date)
Im using a while loop, getting the current and future with (object)Vector.get( index)...
new object = old data
Vector.inset(new object)
end while
but im getting dupe data and wrong data when trying to do something simple
Thanks
For example..
3 dates with data as object in order in a vector.
I need to add the missing dates with the data from the previous date(but adding a day to the date)
Im using a while loop, getting the current and future with (object)Vector.get( index)...
new object = old data
Vector.inset(new object)
end while
but im getting dupe data and wrong data when trying to do something simple
Thanks