Jump to content
Sign in to follow this  
1bobby

break long line into 2 lines

Recommended Posts

1bobby

I know I read some where that a long script line can be carried over to a next line by using a special character at the end of the line. /n, , _ , or something. I know I am not asking the correct question to google. Can someone help me, driving me crazy, oh guess that is a short putt!

Share this post


Link to post
Share on other sites
system24

In Visual Basic, "_" can be used to carry over a very long line to the next line.

In C++, "/n" is used to make a new line.

In English (not a computer language), "-" is used to carry over long words into the next line.

I don't know in AutoIt, though.

Edited by system24

[center]It's a question of mind over matter, if I don't mind, it doesn't matter.[/center]

Share this post


Link to post
Share on other sites
monoceres

Hi!

You can break up lines with '_', like this:

MsgBox(0,"Hello","Text Text Text Text Text Text Text Text Text "& _
"Text Text Text Text Text Text Text Text Text Text Text Text Text "& _
"Text Text Text Text Text Text Text Text Text Text Text Text Text Text ")

:)


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites
1bobby

OK, THANK YOU!

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  

×