[Etoys] random()

Bert Freudenberg bert at freudenbergs.de
Tue Jun 2 20:10:45 EDT 2009


On 03.06.2009, at 01:48, Angel Arias wrote:

> hi and thanks for your patience!
>
> how do i generate a number in a specified range [i.e. 20 to 40 or -10
> to 10] using random()?

random(20) + 20

random(20) - 10

- Bert -




More information about the Etoys mailing list