Results 1 to 2 of 2

Thread: arrays

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    1
    how to define an array?
    is the first place in the array is
    array[0] or array[1]?

  2. #2
    Hyperactive Member mikef's Avatar
    Join Date
    Jun 2000
    Location
    Beach bound...
    Posts
    510
    In a standard array, the first variable starts at 0 like so:

    Array(15) provides space for 0 - 15 vars. (actually 16 since 0 is considerd a spot)

    But...

    If you use the Option Base 1 statement in your General Declarations, then

    Array(15) provides space for 1 - 15 vars. (True 15)

    hope it helps...

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