Results 1 to 2 of 2

Thread: Half-dynamic arrays?

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2002
    Posts
    38

    Half-dynamic arrays?

    Can I have an array where one of the 2 dimensions is dynamic, and the other is static? The array in question is:

    sArray(x, 1) where x can change (dynamically).

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    Yes you can :

    Like :

    VB Code:
    1. Redim sArray(1000,1)

    In this eaxmple, either the 1st or the second can be manipulated without making the other larger. Does that make sense?
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

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