Jump to content

appending a variable to string


Guest dean_mck
 Share

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.

Link to comment
Share on other sites

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...