Sign in to follow this  
Followers 0
JarG0n

Concatenation

5 posts in this topic

How does one go about concatenating strings & variables?

i.e: MsgBox(0,"Success",$windowHandle+" found.",3)

Share this post


Link to post
Share on other sites

&

Share this post


Link to post
Share on other sites

$Name = "Kurt"
Msgbox(0,"","Hello, my name is " & $Name)

Is that what you're looking for? If so, to combine strings and variables use the amperstand (&)

Kurt


Awaiting Diablo III..

Share this post


Link to post
Share on other sites

$Name = "Kurt"
Msgbox(0,"","Hello, my name is " & $Name)

Is that what you're looking for? If so, to combine strings and variables use the amperstand (&)

Kurt

YES!! Thank you! Sorry for the newb questions. I used to script years ago and I'm just now getting back into it. Much appreciated! :P

Share this post


Link to post
Share on other sites

YES!! Thank you! Sorry for the newb questions. I used to script years ago and I'm just now getting back into it. Much appreciated! :P

There are more cool operators like that. Take some time to read the help file under "Operators".

;)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0