On 1/22/07, mi <[EMAIL PROTECTED]> wrote:
> 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???
0.upto (t.length-1) { |x|
puts t[x][0]
}
should do it, but I think you figured that out.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
