| View previous topic :: View next topic |
| Author |
Message |
damajha
Joined: 23 Oct 2006 Posts: 31
|
Posted: Wed Jan 24, 2007 7:31 am Post subject: Simple MsgBox Question |
|
|
Lets say I have an array
Name%number%
Is there a way to display this without copying it to another variable??
for instance : MsgBox, %Name%number%% - obviously doesn't work
thanks
Dale |
|
| Back to top |
|
 |
nick
Joined: 24 Aug 2005 Posts: 345 Location: Berlin / Germany
|
|
| Back to top |
|
 |
JBensimon
Joined: 16 Nov 2004 Posts: 130 Location: New York
|
Posted: Wed Jan 24, 2007 8:01 am Post subject: |
|
|
You can try | Code: | | MsgBox, % Name%number% | A single leading % character forces what follows to be evaluated as an expression.
Jacques. |
|
| Back to top |
|
 |
JBensimon
Joined: 16 Nov 2004 Posts: 130 Location: New York
|
Posted: Wed Jan 24, 2007 8:04 am Post subject: |
|
|
nick wins by 5 minutes! [I was in "compose" mode and didn't see you reply].
Jacques. |
|
| Back to top |
|
 |
damajha
Joined: 23 Oct 2006 Posts: 31
|
Posted: Wed Jan 24, 2007 8:53 am Post subject: |
|
|
AYE KARUMBA!!!
Thanks guys... It's always the simple things |
|
| Back to top |
|
 |
|