dynamic 2d array

Results 1 to 2 of 2

Thread: dynamic 2d array

  1. #1
    Join Date
    Dec 1969

    Default dynamic 2d array

    I have a dynamic array in vbscript which is working fine but ideally I would want it to be dynamic. Is this possible with 2d array.<BR><BR>I declare it as follows: <BR><BR>dim myQuantityArray(10, 2)<BR><BR>but if I only have two elements I end up with 8 elements which are blank which isn&#039;t very good when using for loops. Is there a way of trimming this or a better method would be to make it dynamic.

  2. #2
    Join Date
    Dec 1969

    Default Check out ReDim. <eop>


Posting Permissions

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