[Zope] sequence-item naming

Nick Garcia ngarcia@codeit.com
Tue, 21 Mar 2000 17:18:55 -0800


Ken Kinder wrote:
> 
> I am trying to use a call like this:
> 
> <dtml-in assignments>
>   <dtml-call "foo(var=sequence-item)">
> </dtml-in>
> 
> But it gives me Name Error: sequence.
> 
> Two questions:
>   (1) Why are there -'s in variable names?

I don't know.

>   (2) How do I get around that?

<dtml-call "foo(var=_['sequence-item'])">
-- 
Nick Garcia | ngarcia@codeit.com
CodeIt Computing | http://codeit.com