If the variable is called "car's foo", the min is 6 and the max is 17, then
how about
car's foo <- 6 + random 17
?
I'm not sure what version you are using, but you can find the random tile
in every scriptor's menu, and very often there is one in the Supplies bin.
Cheers,
Alan
At 01:51 PM 7/18/2005, 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
>
>_______________________________________________
>Squeakland mailing list
>
[hidden email]
>
http://squeakland.org/mailman/listinfo/squeakland