Register for your free account! | Forgot your password?

Go Back   elitepvpers > Conquer Online 2 > CO2 PServer - Discussions / Questions
You last visited: Today at 17:02

  • Please register to post and access all features, it's quick, easy and FREE!


[Share] Character Escape Sequences

Reply
 
Old   #1
 
elite*gold: 20
Join Date: Aug 2009
Posts: 1,344
Received Thanks: 650
[Share] Character Escape Sequences

Use/Purpose:

Some characters aren't printable, but you still need to use them in strings. Therefore, C# has a special syntax where characters can be escaped to represent non-printable characters. For example, it is common to use newlines in text, which is represented by the '\n' char. The backslash, '\', represents the escape. When preceded by the escape character, the 'n' is no longer interpreted as an alphabetical character, but now represents a newline.

Code:
[B]Escape Sequence  	           Meaning[/B]
\'  	                         Single Quote
\"  	                         Double Quote
\\  	                         Backslash
\0  	                         Null, not the same as the C# null value
\a  	                         Bell
\b  	                         Backspace
\f  	                         form Feed
\n  	                         Newline
\r  	                         Carriage Return
\t  	                         Horizontal Tab
\v  	                         Vertical Tab
Note : I didn't post this up here for the people that just care about having 2nd reborn and lucky time in there source.



Zion~ is offline  
Thanks
2 Users
Old 08/30/2009, 21:51   #2
 
elite*gold: 0
Join Date: Jun 2009
Posts: 53
Received Thanks: 4
This is pretty useful,

P.S I like the Rastafarian style.

Glad I helped.


Singah is offline  
Thanks
1 User
Old 08/31/2009, 03:38   #3
 
elite*gold: 20
Join Date: Aug 2009
Posts: 1,344
Received Thanks: 650
Yeah bless man,
most of these sequences can be used when coding NPCs.
Zion~ is offline  
Reply



« [Request]NPc Makin Help | Need someone to host my server, v5017? »

Similar Threads
Better way to escape GMs?
11/28/2009 - Dekaron - 14 Replies
I just had a thought, how about we editing GM detect to using return scroll instead of dcing you/teleing you to a new place. Since dcing you and teleing you both are still not 100% safe since you your char stays where it was for around 4 seconds or...
Escape
01/23/2005 - Lineage 2 - 5 Replies
Also, da es hier noch nicht erwähnt wurde werd ichs ma erwähnen ^^ Nyx ( ownerb**** ) von Escape scheint einen Weg gefunden zu haben herauszufinden welche user den L2walker benutzen und welche nicht deshalb ist vorsicht geboten bei dem benutzen...



All times are GMT +2. The time now is 17:02.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.