View Full Version : Can anyone tell what \r does please
08-01-2002, 04:04 PM
I have been looking at peoples scripts and I have seen a \r next to their \n's can anyone tell me what it does please
08-01-2002, 04:08 PM
I believe this has to do with difference between "return" and "line feed"
When scripting I have never needed anything ither than \n to break the line.
08-01-2002, 04:09 PM
Thank you again
08-01-2002, 04:40 PM
AFAIK the "\r\n" indicates a line feed in files on windows. Other OS like Unix use "\n", and I think on MacOS it is "\r", though I'm not completely sure, since they now also changed the framework of their OS. Can anyone more Mac-savy than me confirm what I just said?
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.