Article View: comp.sys.mac
Article #20547Re: Random Numbers is LSC?
From: Richard Siegel
Date: Tue, 20 Oct 1987 19:00
Date: Tue, 20 Oct 1987 19:00
19 lines
1408 bytes
1408 bytes
In article <cVSpkvy00Uzxh7E05h@andrew.cmu.edu> zubrow+@andrew.cmu.edu (David Zubrow) writes:
>I could not find any mention of a random number generator in the LSC manual.
>Does one exist? If not, are there any modules out there for implementing
>random numbers?
>
There is a function in the math library called rand() which returns
a random number; you could also used the QuickDraw function Random() which
returns a random integer in the range -32767...32767.
-_Rich
**The opinions stated herein are my own opinions and do not necessarily
represent the policies or opinions of my employer (THINK Technologies, Inc).
* Richard M. Siegel | {decvax, ucbvax, sun}!harvard!endor!singer *
* Customer Support | singer@endor.harvard.edu *
* THINK Technologies, Inc. (No snappy quote) *
Technical Details
Message-ID:
<3022@husc6.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!endor!singerReferences:
<cVSpkvy00Uzxh7E05h@andrew.cmu.edu>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!endor!singer From: singer@endor.harvard.edu (Richard Siegel) Newsgroups: comp.sys.mac Subject: Re: Random Numbers is LSC? Message-ID: <3022@husc6.UUCP> Date: Tue, 20-Oct-87 15:00:35 EDT Article-I.D.: husc6.3022 Posted: Tue Oct 20 15:00:35 1987 Date-Received: Wed, 21-Oct-87 22:37:10 EDT References: <cVSpkvy00Uzxh7E05h@andrew.cmu.edu> Sender: news@husc6.UUCP Reply-To: singer@endor.UUCP (Richard Siegel) Organization: THINK Technologies, Inc., Bedford, MA Lines: 19