in reply to Re: Foreach loop
in thread Foreach loop

It might have the whiff of homework, but at least the OP posted functional code. It leaves us able to prod in the right direction without necessarily giving the whole house away.

But yeah, some care was warranted. :-)