Home · Maps · About

Home > SubChat
 

[ Read Responses | Post a New Response | Return to the Index ]
[ First in Thread | Next in Thread ]

 

view flat

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.

edf40wrjww2msgDetail:detailStr
fiogf49gjkf0d
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.

Responses

Post a New Response

Your Handle:

Your Password:

E-Mail Address:

Subject:

Message:



Before posting.. think twice!


[ Return to the Message Index ]