|
Axe Software Forums
Quest Developer Forum problem defining numeric variables.
|
Author | Topic: problem defining numeric variables. |
Computer Whizz |
posted 21-09-2000 20:28 GMT
could you help me? I've searched through all the documentation but can't find anything, there's nothing (I can find) in QDK about numeric values. I need this for the timer and every time I check the de-bug window it says that I haven't defined the numeric variable. thanx --CW |
Alex |
posted 21-09-2000 21:18 GMT
You set a numeric variable using the setvar ASL command, or the appropriate action in QDK, with a parameter such as: myvariable; 15 Then to display it you use it in a parameter surrounded by % signs, eg. msg <You have %money% dollars in your wallet.> or the "print a message action" with the parameter You have %money% dollars in your wallet. Alex Warren, |