[Zope] Stupid DTML Question
Dr. Ross Lazarus
rossl@med.usyd.edu.au
Mon, 01 Nov 1999 14:40:46 +1100
Sure - try this in a dtml method (tested for a change !!)
<dtml-call "REQUEST.set('flag',0)">
Flag is <dtml-var flag> <br>
<dtml-call "REQUEST.set('flag',1)">
Flag is <dtml-var flag> <br>
"james w. howe" <jw-@allencreek.com> wrote:
original article:http://www.egroups.com/group/zope/?start=15942
> Is there a way in a DTML method to create a new variable, assigning it an
> initial value, and then change the value later? Something like:
>
> flag = false
> if some condition
> flag = true
>
> if flag
> do something
> else
> do something else.
--
Dr Ross Lazarus
Associate Professor and Sub-Dean for Information Technology
Faculty of Medicine, Room 126A, A27, University of Sydney,
Camperdown, NSW 2006, Australia
Tel: (+61 2) 93514429 Mobile: +61414872482
Fax: (+61 2) 93516646 Email: rossl@med.usyd.edu.au
http://www.health.usyd.edu.au/people/rossl.htm