Skrip Posted January 11, 2006 Share Posted January 11, 2006 MsgBox(4096, "Read-Me", "Line 1 _ Line 2 ") I can't get that to break the line, how do i break the line? [left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left] Link to comment Share on other sites More sharing options...
BigDod Posted January 11, 2006 Share Posted January 11, 2006 (edited) MsgBox(4096, "Read-Me", "Line 1 _ Line 2 ") I can't get that to break the line, how do i break the line?Try MsgBox(4096, "Read-Me", "Line 1" & @CRLF & " _ Line 2 ") Edit - Too slow Edited January 11, 2006 by BigDod Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 11, 2006 Moderators Share Posted January 11, 2006 I can't get that to break the line, how do i break the line?Boy, glad this is a Coding forum, and not a Rehab one, you would have sent a few into relapse with that last question!! Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Skrip Posted January 11, 2006 Author Share Posted January 11, 2006 (edited) Larry FYI I did read the docummentation on it and it wouldn't work and thanks for the help it worked. Edited January 11, 2006 by Firestorm [left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left] Link to comment Share on other sites More sharing options...
herewasplato Posted January 11, 2006 Share Posted January 11, 2006 MsgBox(4096, "Read-Me", "Line 1 _ Line 2 ") I can't get that to break the line, how do i break the line?Perhaps Firestorm is looking for line breaks within the editor - since there was an underscore in the example:MsgBox(4096, "Read-Me", "Line 1 " _ & "Line 2 ") MsgBox(4096, "Read-Me", "Line 1 " _ & @CRLF & "Line 2 ") [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
JSThePatriot Posted January 11, 2006 Share Posted January 11, 2006 Perhaps Firestorm is looking for line breaks within the editor - since there was an underscore in the example:MsgBox(4096, "Read-Me", "Line 1 " _ & "Line 2 ") MsgBox(4096, "Read-Me", "Line 1 " _ & @CRLF & "Line 2 ") Beat me to it. I would bet money that is what happened. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
Skrip Posted January 11, 2006 Author Share Posted January 11, 2006 (edited) ^^thats the doc i read^^ I tried the uppper one you posted and i forgot to put the "&" thanks! Edited January 11, 2006 by Firestorm [left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left] Link to comment Share on other sites More sharing options...
guiltyking Posted April 4, 2016 Share Posted April 4, 2016 On 1/10/2006 at 7:16 PM, herewasplato said: Perhaps Firestorm is looking for line breaks within the editor - since there was an underscore in the example: MsgBox(4096, "Read-Me", "Line 1 " _ & "Line 2 ") MsgBox(4096, "Read-Me", "Line 1 " _ & @CRLF & "Line 2 ") #include <Array.au3> Local $aTheArray[2][10] = [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9], _ & [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]] _ArrayDisplay($aTheArray) how about this error? Link to comment Share on other sites More sharing options...
InunoTaishou Posted April 5, 2016 Share Posted April 5, 2016 What error? Asking a question in a topic that's over 10 years old or the & sign on the third line of your example? Link to comment Share on other sites More sharing options...
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