Aconx Posted January 19, 2006 Posted January 19, 2006 Hi If I have two Strings that i whant to display in msgbox but on different lines, can I add a something inbewean the thrings to make a br? ex. $line3 = $line1 + '\n' + $line2 MsgBox(4096, "", $line3) '\n' did not work but it dose in c++ and so on
CyberSlug Posted January 19, 2006 Posted January 19, 2006 $line3 = $line1 & @LF & $line2 MsgBox(4096, "", $line3) See @CRLF and @LF and @CR in the help file (macros section). Also search for concatenate or concatenation. Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
seandisanti Posted January 19, 2006 Posted January 19, 2006 (edited) Hi If I have two Strings that i whant to display in msgbox but on different lines, can I add a something inbewean the thrings to make a br? ex. $line3 = $line1 + '\n' + $line2 MsgBox(4096, "", $line3) '\n' did not work but it dose in c++ and so onconcatenate in @lf or @cr or @crlf msgbox(0,"title","Line 1" & @lf & "Line 2") LF = linefeed CR = carraige return ***edit*** too slow... good job CS Edited January 19, 2006 by cameronsdad
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