Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: 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: Sender: news@husc6.UUCP Reply-To: singer@endor.UUCP (Richard Siegel) Organization: THINK Technologies, Inc., Bedford, MA Lines: 19 In article 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) *