in reply to Matching with 'if' inside a 'for' loop

perfect. i was trying every which way, but couldn't get the reference right. thanks a lot.