Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ronin!davidh From: davidh@ronin.cc.umich.edu (David Hotchkiss) Newsgroups: comp.sys.mac.programmer Subject: Calling Random Summary: Problems calling Random number generator Message-ID: <1055@mailrus.cc.umich.edu> Date: 20 Apr 89 21:02:38 GMT Sender: usenet@mailrus.cc.umich.edu Reply-To: davidh@ronin.cc.umich.edu (David Hotchkiss) Distribution: comp.sys.mac.programmer Organization: University of Michigan Computing Center, Ann Arbor Lines: 19 UUCP-Path: mailrus!ronin!davidh I'm trying to write some simple simulation programs that involve making calls to the random number generator. Whenever I try calling the Random funtion, I get a Bus error. However, the stackpointer is still even. I've followed the suggestions in IM to call GetDateTime and set randseed equal to it but I still have the same problem. Any help in discovering the source of the problem would be much appreciated. //david /////////////////////////////////////////////////David Hotchkiss/////////////// \\\\\\\\\\\\\\\\\INTERNET:david_hotchkiss@um.cc.umich.edu\\\\\\\\\\\\\\\\\\\\\\ //////////////////////////davidh@ronin.us.cc.umich.edu///////////////////////// \\\\\\\\\\BITNET:USERW264@UMICHUM\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ UUCP:davidh@ronin.UUCP////////////////{insert irrelevant saying here}////////// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~