Random number generation
Darren Reely
darren.reely@latticesemi.com
Thu, 14 Mar 2002 11:46:35 -0800
RANDOM does not work in quiz. You'll have to create it in QTP and work from
there.
Something I've done in the past is this:
GLOBAL temporary mynum10 FLOAT INIT MOD(SYSTIME,10000)
GLOBAL temp my10percent FLOAT SIZE 8 INIT FLOOR(RANDOM(mynum10) * 10)
Darren
Lamers Mike wrote:
>
> Hi, List!
>
> Does anyone have a way to generate a random number in a define in Quiz?
> I need to generate a random sample from a population for auditing.
>
> We're on Version 7.10.G2 in OpenVMS version 7.1