Re: A Deeper Look at the Strip Maps on New Tech Trains (1259609) | |||
Home > SubChat | |||
[ Read Responses | Post a New Response | Return to the Index ] |
|
Re: A Deeper Look at the Strip Maps on New Tech Trains |
|
Posted by R36 #9346 on Wed Nov 20 21:21:02 2013, in response to Re: A Deeper Look at the Strip Maps on New Tech Trains, posted by Spider-Pig on Wed Nov 20 20:28:50 2013. Books about programming languages are written for humans, but they when they talk about arrays, they usually say that the first element of an array is 0.And the lights on the strip map can be considered an array of 64 elements. Given a = new int[64]; (and a language in which the syntax used is valid), a.length(); returns 64, but a[64]=0; throws an "index out of bounds" error. |