🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.transputer
1 messages
1 total messages Started by Paul Wed, 14 Mar 1990 14:17
Problem with Occam RAN function
#2933
Author: Paul
Date: Wed, 14 Mar 1990 14:17
16 lines
742 bytes
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 ?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads