Hi
I want to ask someone their name and then use what they typed to have the program talk to them. I created a variable called 'name' but I don't know how to transfer what the user types into the variable. Love to know the solution if anyone can help
Jen
Offline
Try using the "ask" feature, then make something like this:
[set [name v] to (answer)]
Use the blue "answer" block from sensing Hope this helps!
Offline
Thanks Wolfie
Your solution works fine.
Sorry if I posted a basic question in the wrong place. I did search through the forums for a solution before asking the question but wasn't able to find anything helpful.
Jen
Offline
That's OK - we all make mistakes
Offline
Jennaroni wrote:
Thanks Wolfie
Your solution works fine.
Sorry if I posted a basic question in the wrong place. I did search through the forums for a solution before asking the question but wasn't able to find anything helpful.
Jen
Actually, I think all questions about Scratch should go in All About Scratch. If it's about, say, modifying the source code of Scratch, that should go in Advanced Topics. Just clearing that up for you; but it's easily confused. I used to post a lot in Advanced Topics about something that had nothing to do with it. Thanks!
And sorry, that was a little off-topic.
Offline