Results 1 to 6 of 6

Thread: Add new element and rearrange an array

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2009
    Posts
    15

    Resolved Add new element and rearrange an array

    Hi alls,
    I have an array of real number like as:
    1.1 ; - 2.1 ; 3.1 ; - 1.0 ; 3.0 ; 5.1 ; 0.2 ; 0.5

    Now, I want to insert two elements (1.1 ; 0.1) into the array right after third element. the elements before third element will insert the end of this array. The final array will be as:
    1.1 ; 0.1 ; - 1.0 ; 3.0 ; 5.1 ; 0.2 ; 0.5 ; 1.1 ; - 2.1 ; 3.1

    Could you please tell me how i can do this in VB6. Thank you very much.
    Last edited by anhdung; Feb 13th, 2009 at 09:07 AM.

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