comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: Discrete random
Date: Mon, 11 Sep 2000 04:07:44 GMT
Date: 2000-09-11T04:07:44+00:00	[thread overview]
Message-ID: <kUYu5.2271$zC.118750@newsread2.prod.itd.earthlink.net> (raw)
In-Reply-To: 39BBD440.6E19616@netcourrier.com

GNAT is correct.  There is no discrete_Random package _in_
Ada.Numerics.
Ada.Numerics.Discrete_Random is a _child package_ of
Ada.Numerics.

You need to say "with Ada.Numerics.Discrete_Random;"
instead of "with ada.numerics;"
"Mathias Dolidon" <matd@netcourrier.com> wrote in message
news:39BBD440.6E19616@netcourrier.com...
> Look at this code :
>
> with ada.numerics;
> procedure ess is
> package pnh is new ada.numerics.discrete_random(positive);
>
> ...
>
> At compile time, GNAT answers there's no 'discrete_random' package in
> 'ada.numerics', but the reference manual specifies it. Where is the
> matter ?
>
> Thank you,
>
> Mathias





      parent reply	other threads:[~2000-09-11  4:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-10 18:34 Discrete random Mathias Dolidon
2000-09-10 18:39 ` Laurent Guerby
2000-09-10 19:02   ` Mathias Dolidon
2000-09-11 18:23     ` Laurent Guerby
2000-09-10 18:41 ` Mathias Dolidon
2000-09-10 19:19 ` (null)
2000-09-11  4:07 ` David C. Hoos, Sr. [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox