Results 1 to 31 of 31

Thread: [RESOLVED] Using UBound elements from existing array to create new array?

Threaded View

  1. #5
    Sinecure devotee
    Join Date
    Aug 2013
    Location
    Southern Tier NY
    Posts
    6,598

    Re: Using UBound elements from existing array to create new array?

    It doesn't sound like he wants to copy an array to me.
    It sounds like given some array of existing data, they want to create a parallel array of the same size and store some additional data related to each element of the first array. Also current constructs or code doesn't allow them to add a second dimension to the existing array to store this additional information or else he would have done that as the preferred method of adding addition "columns" of information to the existing data.

    My preference would be to stick with the single array, but make it an array of a User Defined Type, and add additional "fields" to the type rather than create, perhaps, multiple parallel arrays to hold additional item related information. Since we don't know the existing code that deals with the array looks like, we can't really estimate the impact of alternate approaches to add additional data to your elements.
    Last edited by passel; Aug 5th, 2019 at 09:32 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width