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

#1 2007-06-09 13:17:32

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

read block?

Please, is there something like the command "read" to data input?
example: the Sprite says: "Type a number:" block read(number), number is a variable  smile

Offline

 

#2 2007-06-09 13:43:41

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

Re: read block?

There is no "read" command.  If you just want numbers, you could try the method used in my RPN_calculator project.
http://scratch.mit.edu/projects/kevin_karplus/2164

I can't get decimal points from the keyboard, though, since scratch doesn't support that key.

Offline

 

#3 2007-06-09 14:48:25

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

Re: read block?

Thanks kevin_karplus. Congratulations, sensational projects.

Offline

 

Board footer