Results 1 to 3 of 3

Thread: Merge Arrays

  1. #1

    Thread Starter
    Hyperactive Member maxl's Avatar
    Join Date
    Jan 2002
    Location
    Montréal
    Posts
    384

    Merge Arrays

    I know i could do this with a couple of loop but is there any function that can merge multiple arrays into one
    COBOL sa suce !!!

  2. #2
    jim mcnamara
    Guest
    Yes. But most merge algorithms - to be worth anything-
    are more than a couple of loops.

    If you can read C, this guy has a bunch of really good code examples for sort & merge stuff.

    http://www.efgh.com/software/

  3. #3
    PowerPoster
    Join Date
    Feb 2001
    Location
    Crossroads
    Posts
    3,046
    Might get something like this to work:

    VB Code:
    1. arrNew = split(join(arrOne,vbcrlf) & vbcrlf &  join(arrTwo,vbcrlf), vbcrlf)

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