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,a1dc3494658b6e5c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-09-10 21:07:52 PST Path: supernews.google.com!sn-xit-02!sn-east!supernews.com!news-feed.riddles.org.uk!newsfeed.direct.ca!look.ca!cyclone2.usenetserver.com!news-out.usenetserver.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada References: <39BBD440.6E19616@netcourrier.com> Subject: Re: Discrete random X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Mon, 11 Sep 2000 04:07:44 GMT NNTP-Posting-Host: 136.215.141.129 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 968645264 136.215.141.129 (Sun, 10 Sep 2000 21:07:44 PDT) NNTP-Posting-Date: Sun, 10 Sep 2000 21:07:44 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: supernews.google.com comp.lang.ada:581 Date: 2000-09-11T04:07:44+00:00 List-Id: 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" 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