t = [["a", "b"], ["aa", "bb"]]

0.upto (t.length) { |x|
    puts t[x][0]
}

For some reason i'm getting the following error at the end of the loop, 
any idea WHY??? 
a
aa
undefined method `[]' for nil:NilClass (NoMethodError)

Thanks in advance!
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to