Results 1 to 3 of 3

Thread: Array Questions

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2004
    Posts
    72

    Array Questions

    hi all

    how can i declare an array but with out an index count, ive tried doing
    VB Code:
    1. public Array(MAX) as string
    but it doesnt work an di need an array that the index count depends on whats going on in the program at the time.


    any help is appreciated

    thanks
    I'm not a pain in the ass, Im just making things intresting......

  2. #2
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536

    Re: Array Questions

    VB Code:
    1. Public MyArray() as String
    2. Sub Form_Load()
    3.   Redim MyArray(InputBox("Size of array?"))
    4. End Sub
    Last edited by trisuglow; Aug 11th, 2005 at 04:38 AM.
    This world is not my home. I'm just passing through.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2004
    Posts
    72

    Re: Array Questions

    thx for your reply ill put it into action
    I'm not a pain in the ass, Im just making things intresting......

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