L
Lady Michelle Bhaal
I have a chunk of code, where I define an array, and the very next time
I use it, Ruby thinks that it's a hash instead
...
step = Array.new
astep, line = getNextWord(line)
while astep != nil
{
step.push(astep) <- gets error 'odd number list for hash'
astep, line = getNextWord(line)
}
...
What's with this?
Michelle
I use it, Ruby thinks that it's a hash instead
...
step = Array.new
astep, line = getNextWord(line)
while astep != nil
{
step.push(astep) <- gets error 'odd number list for hash'
astep, line = getNextWord(line)
}
...
What's with this?
Michelle