On 01-Mar-02, [EMAIL PROTECTED] wrote:

> While we're chipping in bugs in random, spot the difference in these
> (reported to Feedback a while back)

> random 2        ;; integer -- returns 1 or 2
> random 2x2      ;; pair -- returns 1x1, 1x2, 2x1 or 2x2 
> random 2.2.2    ;; tuple -- returns 0.0.0 thru 1.1.1

Interesting.  Here's another version of 'forever for you...

a: 1.1.1 while [a/1 <> 255][a: random 255.255.255]

I guess with tuples a special case is needed so that random 255
returns from 0 to 255 instead of from 1 to 255.

-- 
Carl Read

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to