Pages: 1
Topic closed
If I prompted the user for their name, how do I assign it to a variable and store it.
Offline
Do this:When Green Flag Clicked<Ask [ what's your name ] and wait><Set [Whatever your variable is.] to (answer)>Or if you want to add it to a list:<add ( answer ) to list>
Last edited by floatingmagictree (2009-09-06 11:48:39)
Thanks. If I wanted to store high score. I could make a variable highscore and another called score. If score > high score set highscore = score ;but how would I keep the name I stored to stick to the score they made?