Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    1,390

    Re: Testing values in an array.

    Yes, uncommented code can be very ugly.
  2. Replies
    7
    Views
    1,390

    Re: Testing values in an array.

    The first element in an array is at element 0.
    The last element in an array is at array.length-1
  3. Replies
    7
    Views
    1,390

    Re: Testing values in an array.

    Arrays have a length attribute that you can use to determine the size/max index of the array.
Results 1 to 3 of 3