🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #26238

How Doy you get a real random number in LSC?

#26238
From: Jeffrey A. Sullivan
Date: Fri, 11 Mar 1988 07:49
12 lines
960 bytes
How do you get a real random number in LSC?  I have tried using rand() and
Random() (from math lib and quickdraw, repectively).  They both give the same
sequence of numbers each time at startup.  I am trying to write a randomizer
INIT that works on a mac II, but the randomness is all that's holding me
back.  (I think...)


-- 
..........................................................................
Jeffrey Sullivan			  | University of Pittsburgh
jas@cadre.dsl.pittsburgh.edu		  | Intelligent Systems Studies Program
jasper@PittVMS.BITNET, jasst3@cisunx.UUCP | Graduate Student
Technical Details
Message-ID: <7671@cisunx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bbn!rochester!PT.CS.CMU.EDU!cadre!pitt!cisunx!jasst3

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bbn!rochester!PT.CS.CMU.EDU!cadre!pitt!cisunx!jasst3
From: jasst3@cisunx.UUCP (Jeffrey A. Sullivan)
Newsgroups: comp.sys.mac
Subject: How Doy you get a real random number in LSC?
Message-ID: <7671@cisunx.UUCP>
Date: 11 Mar 88 07:49:42 GMT
Organization: Univ. of Pittsburgh, Comp & Info Sys
Lines: 11
Keywords: LSC C RANDOM