[Squeakland] random numbers in etoys

Scott Wallace scott.wallace at squeakland.org
Mon Jul 18 19:43:49 PDT 2005


At 10:51 PM +0200 7/18/05, Christian Grune wrote:
>how do I assign a random numer (a number between a given min & max) to a
>variable?
>Couldn't find any tile in the viewer for that....
>
>Wie kann ich Zufallszahlen einer Variable zuweisen?? Es scheint keine
>Kacheln im Betrachter dafür zu geben....
>
>Thanks, Christian Grune

Hi, Christian,

It's at present only available from a Scriptor...

Click on the object's name at the top of a Scriptor:

   

...to get a menu:

   


... and from this menu choose "hand me a random number tile," to obtain:

   

Cheers,

   -- Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://squeakland.org/pipermail/squeakland/attachments/20050718/9768e7f4/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: P6674B33A_9
Type: image/png
Size: 23562 bytes
Desc: not available
Url : http://squeakland.org/pipermail/squeakland/attachments/20050718/9768e7f4/P6674B33A_9-0001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: P6674B33A_10
Type: image/png
Size: 65593 bytes
Desc: not available
Url : http://squeakland.org/pipermail/squeakland/attachments/20050718/9768e7f4/P6674B33A_10-0001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: P6674B33A_11
Type: image/png
Size: 3851 bytes
Desc: not available
Url : http://squeakland.org/pipermail/squeakland/attachments/20050718/9768e7f4/P6674B33A_11-0001.png


More information about the Squeakland mailing list