[Zope] random numbers

Nick Garcia ngarcia@codeit.com
Thu, 7 Oct 1999 16:58:39 -0700 (PDT)


It's <!--#var "_.random.random()"--> 

*or* 

<!--#var "_.whrandom.random()"-->

Nick Garcia | ngarcia@codeit.com
CodeIt Computing | http://codeit.com

On Thu, 7 Oct 1999, Kevin Howe wrote:

> How do you access the random/randint function via dtml?
> I need to be able to generate several unique random numbers in the same
> document one after another.
> 
> I thought it would be something like <!--#var "_.random()"--> but this
> doesnt work.
> 
> thanks
> KH
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (Related lists - please, no cross posts or HTML encoding!
> 
> To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>