| View previous topic :: View next topic |
| Author |
Message |
Mucka Knows
Joined: 22 Jun 2007 Posts: 16
|
Posted: Sun Oct 28, 2007 8:04 pm Post subject: Gui, add, text, 50% variable is missing its end |
|
|
i want the text "50%" to be added to a gui. I don't know how to without triggering the following error msg:
Error: This parameter contains a variable name missing its ending percent sign.
| Code: | | Gui, Add, Text, x136 y90, 50% |
atm i am reading the percent sign from a txt file. |
|
| Back to top |
|
 |
kimbledon
Joined: 28 Sep 2007 Posts: 26
|
Posted: Sun Oct 28, 2007 8:54 pm Post subject: |
|
|
Use ` mark before percentmark.
like this: `%
Edit: Skan's post wasn't there when I started to write  |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 6264
|
Posted: Sun Oct 28, 2007 8:56 pm Post subject: |
|
|
@kimbledon: Are you happy now ?
| Code: | Gui, Add, Text, x136 y90, 50`%
Gui, Show |
 |
|
| Back to top |
|
 |
Mucka Knows
Joined: 22 Jun 2007 Posts: 16
|
Posted: Mon Oct 29, 2007 12:17 am Post subject: |
|
|
thnx alot  |
|
| Back to top |
|
 |
|