Results 1 to 2 of 2

Thread: Array error [subscript out of range]

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Resolved Array error [subscript out of range]

    what is the meaning of subscript out of range for array?

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Array error [subscript out of range]

    Either you didn't initialize a dynamic array, or you are accessing elements that aren't in the correct range.

    if you declare with Dim a(5) you can't use a(6). There are 6 values though.
    a(0) thru a(5)

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