Kwayetus 0 Posted April 17, 2010 If I want to ask someone a question, then after they click enter it would type like "Hello (whatever he entered)" I tried : $name = InputBox("title", "What is your name") MsgBox (0, "title", "Hello $name") Apparently, that doesn't work. The problem is in the "Hello $name". I tried "Hello" + $name but that doesnt work. Sorry for this stupid question. Don't know anything about this yet. >___< Share this post Link to post Share on other sites
Fire 3 Posted April 17, 2010 $name = InputBox("Title goes here","What is your Name?","") MsgBox (0, "title goes here", "Hello " & $name) [size="5"] [/size] Share this post Link to post Share on other sites
Kwayetus 0 Posted April 17, 2010 (edited) oh so its the & command. Thank you! Another question : If I want to get sums or differences? $num1 = InputBox ("SDPQ", "Please input any number without decimal places.") $num2 = InputBox ("SPDQ", "Please input another number without decimal places.") MsgBox (0, "SPDQ", "The sum of the two numbers is " & $num1 + $num2 & @CRLF & "The difference of the two numbers is " & $num1 - $num2 & @CRLF & "The product of the two numbers is " & $num1 * $num2 & @CRLF & "The difference of the two numbers is " & $num1 / $num2) Whats the error there? EDIT: Nevermind, fixed it. Edited April 17, 2010 by Kwayetus Share this post Link to post Share on other sites