where @for and @in are arrays obtained from processing appropriate clauses. The only problem that i have is with processing those clauses. It would be perfect if the source code was similar to what i wrote here, because i think it's the best way to explain what i mean.