[Zope] creating dictionaries

Tino Wildenhain tino@wildenhain.de
Thu, 16 Mar 2000 19:47:03 +0100


Hello,

I want to create a dictionary to eliminate some multiple occurences
of data.
I have two <dtml-in> tags and inside I want to add items to the
dictionary: 

<dtml-let d="{}">
	<dtml-in somesql1>
		<dtml-in somesql2>
			do something like: d[key]=value
		</dtml-in>
	</dtml-in>

do something with the resulting dictionary...
</dtml-let>

so far so good. But how to I add items to the dictionary? 

<dtml-call "d[key]=value">  gives me syntax error.


Thank you!

Tino Wildenhain