Sign in to follow this  
Followers 0
autoitman1

syntax for printing 2 integers in msgbox?

6 posts in this topic

i have two variables $x and $y, how do i print them both in one msgbox?

i tried msgbox(0,"", $x + " " + $y) already...but that didn't work (lol that is how you have to do it in java)

thank you :)

Share this post


Link to post
Share on other sites



o cool, thanks!

Also, do you know to make a new line in msgbox?

so instead of

x y

i can get

x

y

?

thank you

Share this post


Link to post
Share on other sites

o cool, thanks!

Also, do you know to make a new line in msgbox?

so instead of

x y

i can get

x

y

?

thank you

yes, read about macros from here ----> Macros

msgbox(0,"", $x & @CRLF & $y)

Share this post


Link to post
Share on other sites

ah, ok thank you

i guess i didn't think the syntax would fall under macro...i was searching for "new line" under teh help search lol

Share this post


Link to post
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
Sign in to follow this  
Followers 0