Raised This Month: $ Target: $400
 0% 

only de_,cs_


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-23-2010 , 16:32   Re: only de_,cs_
Reply With Quote #9

Those 2 are indeed the same, except the 2nd uses unnecessary memory.

And yes, '\0' = 0, except with Pawn's default escape character it would be '^0'.

There are 2 methods to escape an integer to a char:
1. '\33' where 33 is a decimal integer. This example results in 33 as the decimal integer, which corresponds to the exclamation point character '!'.
2. '\x33' where 33 is a hexadecimal integer. This example results in 51 as the decimal integer, which corresponds to the number 3 character '3'.

See http://www.asciitable.com for more info.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:23.


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