Results 1 to 3 of 3

Thread: Array question ?

  1. #1

    Thread Starter
    Lively Member Joffies's Avatar
    Join Date
    Aug 2002
    Location
    London
    Posts
    119

    Array question ?

    Hi.

    I have never realy worked with arrays. How would i read the value of an array after several values have been assigned to it?

    Do i have to loop through the array to get all the values or is there a quick way to check all the values in the array?


    Many thanks
    Do, or do not. There is no 'try'.

  2. #2
    Frenzied Member McGenius's Avatar
    Join Date
    Jan 2003
    Posts
    1,199
    If you do know exact index (perhaps it was stored into a variable when array was populated) then you won't need to loop, otherwise - yes.
    McGenius

  3. #3
    Fanatic Member TokersBall_CDXX's Avatar
    Join Date
    Mar 2003
    Location
    America
    Posts
    571

    depends on context

    if you used a fixed array or a dynamic array, both are required for you to loop through the array to obtain all of the indexs... use the UBound() function to determine what the top most index is in a dynamic array...

    Good Luck
    Build your own personalized flash based chat room for your webpage for FREE! http://www.4computerheaven.com

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