Sign in to follow this  
Followers 0
Skrip

Line break

9 posts in this topic

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]

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by BigDod


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites

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!! :lmao:


[center]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.[/center]

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Larry FYI I did read the docummentation on it and it wouldn't work

and thanks for the help it worked.

Edited 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]

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

^^thats the doc i read^^ I tried the uppper one you posted and i forgot to put the "&" thanks!

Edited 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]

Share this post


Link to post
Share on other sites

#8 ·  Posted

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?

Share this post


Link to post
Share on other sites

#9 ·  Posted

What error? Asking a question in a topic that's over 10 years old or the & sign on the third line of your example?

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