Raised This Month: $51 Target: $400
 12% 

Check if string is empty


Post New Thread Reply   
 
Thread Tools Display Modes
KiLLeR123
New Member
Join Date: Nov 2006
Old 11-26-2006 , 05:11   Re: Check if string is empty
Reply With Quote #11

Nope, thanks for explaining.
KiLLeR123 is offline
Identity
Member
Join Date: Mar 2007
Old 03-13-2007 , 05:36   Re: Check if string is empty
Reply With Quote #12

Quote:
In Pawn the zero character '^0' is equal to 0 and indicates the end of a string.
no diff?
so server_print("You Have 0 Kills") will print "You Have " ?
Identity is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 03-13-2007 , 07:20   Re: Check if string is empty
Reply With Quote #13

'^0' character is the so called "zero terminator" that isn't equal to '0' character. So no, it will not act like that. On the other hand server_print("You Have ^0 Kills") will print "You Have ".
VEN is offline
cybermind
Senior Member
Join Date: Oct 2004
Old 03-13-2007 , 12:44   Re: Check if string is empty
Reply With Quote #14

'^0' is equal to 0
both of which are NOT equal to '0'
cybermind is offline
Reply



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 05:46.


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