Duke Normandin wrote in post #994657:
> hey ...
>
> I want to make sure that I understand the subtle difference in the
> syntax.
>
> my_array[0,3]
>
> and
>
> my_array[0..2]
>
> both will return the same array elements - correct?
>

If someone had a gun to your head and told you that you had 30 seconds 
to provide an answer to that question, what would you do?

> the first _says_: "start at index0 & gimme 3"
> the latter _say_: "start at index0 and goto index2"
>

Where is the ruby documentation located?


> If the data requirements start at >index0, then there is no offset
> between the "gimme" and the 'goto".
>
> Am I getting it?

No.

-- 
Posted via http://www.ruby-forum.com/.