Sign in to follow this  
Followers 0
DaLiMan

New Line

5 posts in this topic

Hi, I know this is a very stupid question.

Especially because I know I read it somewhere in the manual, but.....

I CAN'T FIND IT ANYMORE....... :D

In v2 a new line was /n, but in v3 this has chanced.

Is there someone kind enough to tell me?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Example in MsgBox :

MsgBox(64, "title", "This is a line" & @LF & "This is the next line")

Good luck !

Edited by Helge

Share this post


Link to post
Share on other sites

Thanx !! ;-)

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I would use @CRLF if you get in the habit, you will save yourself some headaches later on when you use the data in other places.

/n was newline.

@LF is LineFeed

@CR is CarrigeReturn

@CRLF is dos/windows for a newline.

Mac uses @CR without the @LF, but doesn't mind @CRLF

Unix uses @LF without the @CR, but doesn't mind @CRLF

Dos/Win mess up if no @CRLF in some programs.

Just a good habit to get in to.

MsgBox(64, "title", "This is a line" & @CRLF & "This is the next line")
Edited by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

OK, I'll remember that....

Thanx :D

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