Hi Team!
I have a Multidimensional Array which I store, several data.
Example:
Name of Array : ReDim Invoices(NumberofInvoices, 4)
//Where:
NumberofInvoices: Number of “rows”
4: number of “columns”
UUID | DownloadLink | Year | Emitter | Receiver | ValidationStatus
So, for store data on each column I do:
For i as Integer = 0 to NumberofInvoices -1
Invoices(i,0) = UUID(i)
Invoices(i,1) = Links(i)
Invoices(i,2) = Receiver(i)
Invoices(i,3) = Emitter(i)
Invoices(i,4) = ValidSts(i)
Next i
And it works.
So, then I use the data of the “Invoices” Array, in order to download the data of every link of the array.
As This:
For z As Integer = 0 to Ubound(Invoices, 1)-1
DownInvoice(Invoices(z,1),Invoices(z,0),Invoices(z,3),Invoices(z,4))
Invoices(z,0) = ""
Invoices(z,1) = ""
Invoices(z,3) = ""
Invoices(z,4) = ""
Next z
As you can see After execute my method “Downvoice” I free memory, Asigning “” to each column, But I consider that would be great idea If I could delete one row or element in the array, after processing it, but I don’t have Idea how to do that.
I know how to do that on simple arrays as this:
Array.remove(4) ///Where: 4 is the name of the element of the array to remove.
Thanks