basic array questions

Results 1 to 2 of 2

Thread: basic array questions

  1. #1
    Ed Leach Guest

    Default basic array questions

    Question 1:<BR><BR>When I dim an array, can I do it with the number of entries in the array stated as a variable?<BR><BR>When I try:<BR><BR> myEntries = 12<BR><BR> dim myArray(myEntries)<BR><BR>I get an error. What is the best way to do this?<BR><BR>Question 2<BR><BR>If I have a large array and don&#039;t need it any more, what is the best way to get rid of it from memory?<BR><BR>Thanks,<BR><BR>- Ed<BR>

  2. #2
    a Guest

    Default RE: basic array questions

    myEntries = 12<BR>Dim myArray<BR>ReDim my Array(myEntries)<BR><BR><BR>Try:<BR>SET myArray = Nothing

Posting Permissions

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