I'm a brand new user so please forgive me in advance for the stupid question...
I'm helping my daughter write a program that generates a sequence of numbers. She's using the say command to "print" a number to the screen each time she runs through the loop.
Unfortunately, each time the sprite "prints" the new number it replaces the previous entry. Ideally, I'd like the program to generate a list of numbers (e.g., "2, 5, 7, 15, 34...") by having appending the new number. I suspect this is easily done but I can't figure it out.
Thanks in advance!
Craig
Offline
So you're doing something like this:
Say: 2
blah blah blah
Say: 3
But each time you do that, it replaces the other.
Simple. You just say:
Say: 2
blah blah blah
Say: 2, 3
You have to type in the first number as well, then type in the next.
Offline
You might also want to use my print_number or print_decimal programs:
http://scratch.mit.edu/projects/kevin_karplus/2163
http://scratch.mit.edu/projects/kevin_karplus/2951
The print a number on the screen then move down before printing the next.
You can easily modify them to position the numbers where you want, as they were designed for incorporation into other projects.
Offline