Jump to content

Recommended Posts

Posted

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?

Posted (edited)

Example in MsgBox :

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

Good luck !

Edited by Helge
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.

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
×
×
  • Create New...