Sign in to follow this  
Followers 0
marale

option \n in msgbox

4 posts in this topic

What is replace the option \n for the msgbox in the V3

Share this post


Link to post
Share on other sites



does

msgbox(0, "", "This is line1" & @CR & "This is line2")

have the same effect?

Share this post


Link to post
Share on other sites

sure does, as well as:

msgbox(0, "", "This is line1" & chr(10) & "This is line2")

msgbox(0, "", "This is line1" & chr(13) & "This is line2")

Surprisingly, so does:

msgbox(0, "", "This is line1" & chr(13) & chr(10) & "This is line2")

msgbox(0, "", "This is line1" & chr(10) & chr(13) & "This is line2")

msgbox(0, "", "This is line1" & chr(13) & @lf & "This is line2")

msgbox(0, "", "This is line1" & @lf & chr(13) & "This is line2")

msgbox(0, "", "This is line1" & @cr & @lf & "This is line2")

msgbox(0, "", "This is line1" & chr(10) & @cr & "This is line2")

Want more?

More than one way to skin a cat.


AutoIt3, the MACGYVER Pocket Knife for computers.

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