[Zope] <znewb101> How to assign and pass a variable as object ? </znewb101>

Daryl Tester dt@picknowl.com.au
Sun, 07 May 2000 11:50:22 +0930


Jason Cunliffe wrote:

> <dtml-let bsdobj =  bsdtest002>  or any other name
>     <dtml-call "bsdobj .set('nom','test of bsd object')">
>     <dtml-var "bsdobj .get('nom')"><br>
>     <dtml-call "bsdobj .set('purpose','Allow persistent access to a bsddb
> dictionary object just like a COM object')">
>     <dtml-var "bsdobj .get('purpose')"><br>
> </dtml-let>

There's an abundance of whitespace in them dtml-var's and dtml-call's;
is that intentional (ie, cut and paste) or accidental?

> This does not work.

_How_ does it not work?  Does it come up with a Zope Error?  If it does,
What Is The Traceback? (if I could underscore that without resorting to
HTML, I would).


Regards,
  Daryl Tester