[Templates] naming conflict

Matthias.Dillier@snb.ch Matthias.Dillier@snb.ch
Mon, 11 Mar 2002 18:23:56 +0100


This is a multi-part message in MIME format.

------=_NextPartTM-000-f07ebf80-34ce-11d6-88a9-dd2f86466f19
Content-type: text/plain; charset=us-ascii


Hi Mark

Thank you for your really fast answer.

In my real examples, the loop is in a separate file, but I have to use [%
PROCESS ... %], because inside the loop, I define some common variables,
that I want to use later. ...
So I need a different solution.

The problem seems to be, that in the array-name 'i.array', TT doesn't
interpret i as a hash-name (with a array as value for key 'array') but
wants to interpret i with the scalar variable defined earlier in the
FOREACH loop.

Thanks
Matthias


------=_NextPartTM-000-f07ebf80-34ce-11d6-88a9-dd2f86466f19
Content-Type: text/plain;
	name="SNB-Disclaimer.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="SNB-Disclaimer.txt"

This message is for information purposes only. It may not be secure or error-free. The Swiss National Bank does not accept legal responsibility for any consequences resulting from e-mail use.

------=_NextPartTM-000-f07ebf80-34ce-11d6-88a9-dd2f86466f19--