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

#1 2011-10-05 11:10:39

ProgrammingAddict
New Scratcher
Registered: 2011-08-23
Posts: 22

Check if answer is a number

How can I check whether the answer to the ask and wait block is a number? I tried

<if>
<( (( answer <mod> 1 )) <=> 0 )>
<end>

but for some reason if you typed in the word cat for example, it would work, unforutunately.

Offline

 

#2 2011-10-05 11:23:19

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Offline

 

Board footer