AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   ^n and ^r (https://forums.alliedmods.net/showthread.php?t=129717)

portocala 06-16-2010 04:01

^n and ^r
 
What does ^n and ^r mean ?

For example in sockets:

format(send, 511, "GET /asd.php HTTP/1.1^r^nHost:www.myhost.com^r^nConnection: close^r^n^r^n");

I know that ^n is for a new line... but I'm not sure.

Thanks.

Sylwester 06-16-2010 09:06

Re: ^n and ^r
 
^n - new line
^r - carriage return

http://en.wikipedia.org/wiki/Newline...ming_languages


All times are GMT -4. The time now is 14:47.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.