From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fa81b07d7c3d2d7d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-01 19:25:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!logbridge.uoregon.edu!newsfeed.cs.utexas.edu!geraldo.cc.utexas.edu!not-for-mail From: "Bobby D. Bryant" Newsgroups: comp.lang.ada Subject: Re: Random numbers in tasks Date: Sun, 01 Jun 2003 20:24:00 -0600 Organization: dis- Message-ID: References: NNTP-Posting-Host: dial-91-13.ots.utexas.edu Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: geraldo.cc.utexas.edu 1054520669 23181 128.83.249.13 (2 Jun 2003 02:24:29 GMT) X-Complaints-To: abuse@utexas.edu NNTP-Posting-Date: Mon, 2 Jun 2003 02:24:29 +0000 (UTC) User-Agent: Pan/0.14.0 (I'm Being Nibbled to Death by Cats!) Xref: archiver1.google.com comp.lang.ada:38298 Date: 2003-06-01T20:24:00-06:00 List-Id: On Sun, 01 Jun 2003 21:05:41 +0300, Papastefanos Serafeim wrote: > There is a small problem in that solution, I cannot just declare the > generator in the task type: There is a function in a different package > that is used to return a random number in a given range and that > function is used at other places too... If the function accepts a generator as an argument then David's suggestion will still work correctly. -- Bobby Bryant Austin, Texas