comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Random numbers in Gnat
Date: 3 Mar 1995 14:11:40 -0500
Date: 1995-03-03T14:11:40-05:00	[thread overview]
Message-ID: <3j7plc$k3k@schonberg.cs.nyu.edu> (raw)
In-Reply-To: dmarshalD4t10E.2uo@netcom.com


"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.




  reply	other threads:[~1995-03-03 19:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-01 21:51 Random numbers in Gnat ab
1995-03-02  8:31 ` Dave Marshall
1995-03-03 19:11   ` Robert Dewar [this message]
1995-03-02 15:50 ` Robert I. Eachus
1995-03-03 15:08 ` Tucker Taft
replies disabled

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