Jump to content

Msgbox and variables


Recommended Posts

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.

:)

Link to comment
Share on other sites

Can't seem to get this to work  :)

$icon = 16

$Buttons = 2

msgbox($icon & "+" & $Buttons,"test","test")

How come?

<{POST_SNAPBACK}>

$icon = 16

$Buttons = 2

msgbox($icon + $Buttons,"test","test")

the quotes make + behave as text

Edited by keeskas
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...