rintamarotta
New Member
I have a lot of arrays in a web module I'm writing and I will be adding more as time goes on. I would like to dynamically enumerate all arrays to search and update them. Is this possible? Snippet of code below:\[code\]Private EMASCFee() As String = {0, 1, "12345679", "MASC Debt SetOff Fees"}Private EMSPen() As String = {2, 3, "987654312", "Medicare EMS Late Penalties"}Private Beach() As String = {4, 5, "110022233", "Beach Services"}Private allCodes() As Array 'Holds all Codes ArraysPrivate Sub addArrays() 'Adds all Codes String Arrays together into 1 Array *** Add NEW string arrays to the end of allCodes *** allCodes = {EMASCFee, EMSPen, Beach}End Sub\[/code\]What I'd like to do is something like:\[code\]Private EMASCFee() As String = {0, 1, "12345679", "MASC Debt SetOff Fees"}Private EMSPen() As String = {2, 3, "987654312", "Medicare EMS Late Penalties"}Private Beach() As String = {4, 5, "110022233", "Beach Services"}Private allCodes() As Array 'Holds all Codes ArraysPrivate Sub addArrays() For each myArray as Array in ModuleName allCodes = {allCodes, myArray} NextEnd Sub\[/code\]