PDA

View Full Version : Set values of a variable?


Xeriandros
11-21-2005, 07:20 PM
I'm trying to Loop a bit where the program asks the user for a number and that number gets stored to a variable so the object can perform certain actions based on that number.
What I need to know is how to set the value from "ask user for a number" to a variable.
Also, where do I put the "ask user..." thing in my loop? It only lets me put it in the _times spot. Is this correct?

Thanks vera much!

kingsamses
11-23-2005, 04:46 PM
You drag the variable into the code editing area and have it give the variable a dummy value. Then drag "ask user for a number" into the editor so it reads "[variable] set value to [ask user for a numer] more...v"