From: mheaney@ni.net (Matthew Heaney)
Subject: Re: Random numbers and ADA.
Date: 1997/11/22
Date: 1997-11-22T00:00:00+00:00 [thread overview]
Message-ID: <mheaney-ya023680002211971314530001@news.ni.net> (raw)
In-Reply-To: 34738DD6.633867D7@wvu.edu
In article <34738DD6.633867D7@wvu.edu>, Ghost <awillia8@wvu.edu> wrote:
>Hi,
> I'm new to ADA, but I've programmed in a few other languages. I was
>wondering if ADA has a predefined RANDOM function. I know Pascal has
>one, and I think C does(never had to use it, oddly enough), but I
>haven't found anything about it in my rather limited ADA resources.
>Does such a function exist, and if it does, which package is it in?
Yes, a random number function exists.
Ada.Numerics.Float_Random
Ada.Numerics.Discrete_Random
P.S. Ada isn't an acronym, so you don't need to spell it in all-caps.
--------------------------------------------------------------------
Matthew Heaney
Software Development Consultant
<mailto:matthew_heaney@acm.org>
(818) 985-1271
prev parent reply other threads:[~1997-11-22 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-11-19 0:00 Random numbers and ADA Ghost
1997-11-20 0:00 ` Tom Moran
1997-11-22 0:00 ` Matthew Heaney [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