This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-06-09 15:07:11

bra
Scratcher
Registered: 2007-06-09
Posts: 5

block read

I would like to suggest something like the command "read" to data input.  big_smile
Example: the Sprite says: "Type a number:" then block read(number), number is a variable.
Input is essencial to create interactivity.
Thanks.

Scratch is sensational!!!

Offline

 

#2 2007-06-14 19:13:57

mungojelly
Scratcher
Registered: 2007-05-19
Posts: 35

Re: block read

It's possible to get complex input by writing a sprite to accept it.  Like you could pop up a sprite with a row of buttons with different numbers.  There's various schemes you could use to make it easy to enter large numbers.  It's kind of a pain, but at least in Scratch it would be very reusable code-- a sprite you can import and use when you want number input.

<3

Offline

 

#3 2007-06-14 20:20:12

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: block read

There is number input already written in my RPN calculator.
http://scratch.mit.edu/projects/kevin_karplus/2164

Offline

 

Board footer