Jump to content

Recommended Posts

Posted

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]

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


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

  • Moderators
Posted

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:

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.

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]

Posted

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]

Posted

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)

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]

  • 10 years later...
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?

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...