Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!prl.philips.co.uk!simons From: simons@prl.philips.co.uk (Paul) Newsgroups: comp.sys.transputer Subject: Problem with Occam RAN function Message-ID: <24069.9003141417@prsun7.prl.philips.co.uk> Date: 14 Mar 90 14:17:22 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 16 I've been trying to use the RAN function with very little success. Sounds simple enough - but it just doesn't seem to work. This is my test program : INT32 x : REAL32 y : INT k : TIMER clock : SEQ clock ? k x := INT32 k SEQ i = 0 FOR 10 y,x := RAN(x) >From this routine I would expect 10 random real numbers - I get rubbish, can someone enlighten me ?