Article View: comp.sys.mac
Article #26238How Doy you get a real random number in LSC?
From: Jeffrey A. Sullivan
Date: Fri, 11 Mar 1988 07:49
Date: Fri, 11 Mar 1988 07:49
12 lines
960 bytes
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!jasst3Show 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