[Zope] variable assignment

Andreas Jung Andreas Jung <lists@andreas-jung.com>
Tue, 22 Oct 2002 14:57:18 +0200


Either use dtm-let or assign the variable to the REQUEST
object using REQUEST.set() (ugly).

-aj

--On Dienstag, 22. Oktober 2002 13:52 +0100 Miche=E1l Healy=20
<michael.healy@engitech.ie> wrote:

>
> Hi,
>
> I have the following code snippet:
>
>   <dtml-in
> expr=3D"view.sql_query_current_windows_version(p_custName=3Dp_custName,
> p_inventory=3Dp_inventory)">       <dtml-var current_windows_version>
>   </dtml-in>
>
> I'd like to be able to check the value of 'current_windows_version'
> (which is sel in the ZSQL method) later in the code.  Is there any way of
> assigning this value to a 'global' variable which I could read later?
> TIA,
>
> Miche=E1l Healy




    ---------------------------------------------------------------------
   -    Andreas Jung                     http://www.andreas-jung.com   -
  -   EMail: andreas at andreas-jung.com                              -
   -            "Life is too short to (re)write parsers"               -
    ---------------------------------------------------------------------