Array
Announcement
Collapse
No announcement yet.
College Sports Madness -- Top 144
Collapse
X
-
Originally posted by FadedCrown View Post
Ok what does this mean
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
-
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.Please Like This Video, Comment And Subscribe. I Don't Claim Any Responsibility For The Video. It Is Copyrighted To Their Owners. Copyright Disclaimer Under ..."It's amazing to watch Ron slide into that open area, Fred will find him and it's straight cash homie."--HCGM
- Likes 2
Comment
-
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
-
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.
- Likes 1
Comment
Comment