In article <m2n1dptegp.fsf / zip.local.thomases.com>, Dave Thomas <Dave / PragmaticProgrammer.com> wrote: > > No, I think it's because you have a blank line in your data, so the > #split method is not finding any fields, to the assignment is setting > the variables to nil. > > Yes I had a couple of blank or empty lines at the end of the data. I should have checked the values of name for each iteration. But I must say I am not satisfied with ruby's treatment of nil. Now I am at page 74. The overloading of the method + at the middle is clear. But I got lost with the overloading of [] at the bottom. I'd appreciate it if you would show a simple program that visualizes aSong[0, 0.15]. It would be better without the extra methods setStartTime and play. Sent via Deja.com http://www.deja.com/