Array question

Results 1 to 2 of 2

Thread: Array question

  1. #1
    Join Date
    Dec 1969

    Default Array question

    Is it possible to dimension an array using a variable? Example<BR><BR>MyNumber = 3<BR>Dim MyArray(MyNumber)<BR><BR>When I try this I get "Expected Integer Constant" Error.<BR><BR>Any ideas??

  2. #2
    Join Date
    Dec 1969

    Default ReDim

    MyNumber = 3<BR>Dim MyArray()<BR>ReDim MyArray(MyNumber)<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