Announcement

Collapse
No announcement yet.

College Sports Madness -- Top 144

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #91
    Array

    Comment


    • #92
      Originally posted by Shox21 View Post
      Array
      Ok what does this mean

      Comment


      • #93
        Originally posted by FadedCrown View Post

        Ok what does this mean
        It sometimes appears in place of a quoted response. Not intentional.
        Livin the dream

        Comment


        • #94
          Originally posted by FadedCrown View Post

          Ok what does this mean
          It probably means that some programmer forgot that array elements start with the number 0. That means the highest numbered item in the array is one less than the number of elements in the array. If there are 3 elements in an array (1,2,3) and some programmer tries to pull up array(3) to get the number 3, that's an error. Another way to have the same problem is that one programmer reassigned the array numbers to start with 1 instead of 0. That solves the previously described problem, but creates a new one. The next programmer may not figure that out and might attempt to access array element 0 - array(0), but there is no array element 0.

          Sometimes the answer to a question is not helpful.
          The future's so bright - I gotta wear shades.
          We like to cut down nets and get sized for championship rings.

          Comment


          • #95
            Array of arrays?

            "You Just Want to Slap The #### Outta Some People"

            Comment


            • #96
              Originally posted by Aargh View Post

              It probably means that some programmer forgot that array elements start with the number 0. That means the highest numbered item in the array is one less than the number of elements in the array. If there are 3 elements in an array (1,2,3) and some programmer tries to pull up array(3) to get the number 3, that's an error. Another way to have the same problem is that one programmer reassigned the array numbers to start with 1 instead of 0. That solves the previously described problem, but creates a new one. The next programmer may not figure that out and might attempt to access array element 0 - array(0), but there is no array element 0.

              Sometimes the answer to a question is not helpful.
               
              "It's amazing to watch Ron slide into that open area, Fred will find him and it's straight cash homie."--HCGM

              Comment


              • #97
                Originally posted by Aargh View Post

                It probably means that some programmer forgot that array elements start with the number 0. That means the highest numbered item in the array is one less than the number of elements in the array. If there are 3 elements in an array (1,2,3) and some programmer tries to pull up array(3) to get the number 3, that's an error. Another way to have the same problem is that one programmer reassigned the array numbers to start with 1 instead of 0. That solves the previously described problem, but creates a new one. The next programmer may not figure that out and might attempt to access array element 0 - array(0), but there is no array element 0.

                Sometimes the answer to a question is not helpful.
                Runtime error - Array index out-of-bounds

                Comment


                • #98
                  Originally posted by Aargh View Post

                  It probably means that some programmer forgot that array elements start with the number 0. That means the highest numbered item in the array is one less than the number of elements in the array. If there are 3 elements in an array (1,2,3) and some programmer tries to pull up array(3) to get the number 3, that's an error. Another way to have the same problem is that one programmer reassigned the array numbers to start with 1 instead of 0. That solves the previously described problem, but creates a new one. The next programmer may not figure that out and might attempt to access array element 0 - array(0), but there is no array element 0.

                  Sometimes the answer to a question is not helpful.

                  Comment


                  • #99
                    "You Just Want to Slap The #### Outta Some People"

                    Comment

                    Working...
                    X