Wb-FreeKill Posted March 15, 2005 Posted March 15, 2005 Can't seem to get this to work $icon = 16 $Buttons = 2 msgbox($icon & "+" & $Buttons,"test","test") How come?
MHz Posted March 15, 2005 Posted March 15, 2005 The 2 variables $icon and $buttons, represent numbers 16 and 2. How do we add numbers? With an addition symbol. msgbox($icon + $Buttons,"test","test") using a "+" as a string, is the problem, that you were receiving.
keeskas Posted March 15, 2005 Posted March 15, 2005 (edited) Can't seem to get this to work $icon = 16$Buttons = 2msgbox($icon & "+" & $Buttons,"test","test")How come?<{POST_SNAPBACK}>$icon = 16$Buttons = 2msgbox($icon + $Buttons,"test","test")the quotes make + behave as text Edited March 15, 2005 by keeskas
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now