| View previous topic :: View next topic |
| Author |
Message |
Famkee
Joined: 29 Mar 2005 Posts: 17
|
Posted: Mon May 16, 2005 2:55 pm Post subject: %Variables% |
|
|
| I dont understand when you need the % on the begining and ends of variables and when you don't. I always have to test it many times. Could someone explain it to me? |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5390 Location: /b/
|
Posted: Mon May 16, 2005 2:59 pm Post subject: |
|
|
| The FAQ page explains how to use variables. |
|
| Back to top |
|
 |
TeknoMusicMan
Joined: 14 Apr 2005 Posts: 188 Location: Wisconsin, USA
|
Posted: Mon May 16, 2005 3:02 pm Post subject: |
|
|
you use the %variable% when you want to use what that variables contents are.
Ex
Test := 1
this sets the Test variable to 1
Msgbox, Test
this displays a msgbox with the word test on it
Msgbox, %test%
this displays a msgbox with only "1" on it. _________________
"Make it idiot-proof, and someone will make a better idiot." |
|
| Back to top |
|
 |
Famkee
Joined: 29 Mar 2005 Posts: 17
|
Posted: Tue May 17, 2005 1:04 am Post subject: thanks |
|
|
| Thanks tecno music man, thats what i needed to know. |
|
| Back to top |
|
 |
|