Wb-FreeKill 0 Posted October 6, 2004 (edited) How can i combine two variables into one $des1 =pic $des2 =.bmp $desall = $des1 + $des2 msgbox (0, "des", $desall) <--- i should reply pic.bmp Edited October 6, 2004 by Wb-FreeKill Share this post Link to post Share on other sites
SlimShady 1 Posted October 6, 2004 How can i combine two variables into one$des1 =pic$des2 =.bmp$desall = $des1 + $des2msgbox (0, "des", $desall) <--- i should reply pic.bmp<{POST_SNAPBACK}>$des1 =pic $des2 =.bmp $desall = $des1 & $des2 msgbox (0, "des", $desall)OR$des1 =pic $des2 =.bmp msgbox (0, "des", $des1 & $des2) Share this post Link to post Share on other sites
mlister 0 Posted October 6, 2004 enclose the variable values in quotes and use '&' instead of '+'. $des1 = "pic" $des2 = ".bmp" $desall = $des1 & $des2 Share this post Link to post Share on other sites