RE-Post Remove Known Array Element

Results 1 to 2 of 2

Thread: RE-Post Remove Known Array Element

  1. #1
    Join Date
    Dec 1969

    Default RE-Post Remove Known Array Element

    Hi,<BR><BR>How can I remove a Know Element from an array e.g <BR><BR>Marray(0)= 1<BR>Marray(1)= 2<BR>Marray(2)= 3<BR><BR>how would I dynamicly remove Marray(1) and would i have to re- Order &#062;?

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default Many ways

    create a new array with one less element and copy the new stuff over except the one you dont want<BR><BR>or<BR><BR>from the element after the one you are deleting copy to the previous element till you reach the ubound of the array and then redim preserve it with one element less<BR><BR>or...<BR><BR>

Posting Permissions

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