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

#1 2009-06-04 05:39:02

Prof1
Scratcher
Registered: 2009-06-04
Posts: 1

Text variables

Is there anyway for the USER (not the programmer) to input text variables whose value then controls the flow of instructions?

Offline

 

#2 2009-06-04 07:55:08

fruit
Scratcher
Registered: 2009-04-24
Posts: 1000+

Re: Text variables

Well, sort of. In scratch 1.4, you can ask things, where the user can input text. It then puts it in a "variable" called answer. Then I guess you could do:
<when green flag clicked>
ask (whatever you want)
<set{ variable  }to( answer


@savi3000 | hcsmp.com

Offline

 

Board footer