Hi everyone, problem running some projects on Ibook OS 10.2.8 notably "a little tree" and the nasa connect tutorial project. All I get is a nearly blank sqeaker - the navigator and supply tabs are visible and working
cheers, Carolyn
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
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
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 Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
squeakland@lists.squeakfoundation.org