item random() (was Random(3) often returns 1)

Rob Cozens rcozens at pon.net
Fri Jun 9 10:45:08 EDT 2006


Moi:

> 	    add 1 to x[value(random(3))

Forgot trailing "]"
>
> 	    add 1 to x[(value(random(3)))

Forgot trailing "]"
>
> 	    add 1 to item (random(3)) of myCounter]

There it is....where it shouldn't be.          :{`)


Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)




More information about the use-livecode mailing list