Subject: Re: how to loop through two arrays in parallel
From: Mitchell Gould <go_mitchell yahoo.ca>
Date: Tue, 15 Jul 2008 06:04:59 +0900
References: 308182308184
In-reply-to: 308184
Kevin Brown wrote:
> I'll start
>
> for i in (0..products.size-1)
> p products[i]
> p quantity[i]
> end
I like this one. For a beginner this is easiest to follow.
Thanks Kevin.
--
Posted via http://www.ruby-forum.com/.