Jump to content
Sign in to follow this  
Guest dean_mck

appending a variable to string

Recommended Posts

Guest dean_mck

I want to take the user input (X) from an input box and display a msg box that says, you clicked X number of times. I've searched the forums and the help file, but can't find any way to do it. Can someone help? I'm sure it's probably a function that doesn't stand out to my non-programmer brain.

Share this post


Link to post
Share on other sites
Falling

I want to take the user input (X) from an input box and display a msg box that says, you clicked X number of times.  I've searched the forums and the help file, but can't find any way to do it. Can someone help? I'm sure it's probably a function that doesn't stand out to my non-programmer brain.

<{POST_SNAPBACK}>

Not sure what you are saying.

$answer = InputBox("Question", "Where were you born?", "", "", -1, -1, 0, 0)
;Places the input box in the top left corner displaying the characters as they are typed.

////  then

MsgBox(0,"Answer + somthing extra", $answer & " sucks")

& -> concatenates two strings.

Share this post


Link to post
Share on other sites
Guest dean_mck

That was exactly what I needed. IT worked. Thank you.

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  

×