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,34e3e7f96ab2aa27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-03 11:11:40 PST Path: nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!swrinde!gatech!udel!news.mathworks.com!zombie.ncsc.mil!admii!cmcl2!thecourier.cims.nyu.edu!thecourier.cims.nyu.edu!nobody From: dewar@cs.nyu.edu (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: Random numbers in Gnat Date: 3 Mar 1995 14:11:40 -0500 Organization: Courant Institute of Mathematical Sciences Message-ID: <3j7plc$k3k@schonberg.cs.nyu.edu> References: <3j2q9t$s3n@solar.Armstrong.EDU> NNTP-Posting-Host: schonberg.cs.nyu.edu Date: 1995-03-03T14:11:40-05:00 List-Id: "the only information I have found is in a-numran.ads" If you rummage around in the specs this way, please respect: private package Ada.Numerics.Random is the private here means MYOB, or more accurately, that this package is only for internal use. It is wrong to try to use it directly. A program that with's this package is illegal. As we observe from the attempt, there is a missing check in GNAT which will be remedied forthwith :-) Meanwhile, if you want to know what's in the libraries, look in Appendix A of the RM. With rare exceptions you do NOT need to be a language lawyer to understand this section, so it should be a primary reference source for all Ada programmers.