Raised This Month: $ Target: $400
 0% 

Showing results 1 to 4 of 4
Search took 0.01 seconds.
Search: Posts Made By: KiLLeR123
Forum: Scripting Help 11-26-2006, 05:11
Replies: 13
Views: 6,006
Posted By KiLLeR123
Re: Check if string is empty

Nope, thanks for explaining. :)
Forum: Scripting Help 11-24-2006, 11:33
Replies: 13
Views: 6,006
Posted By KiLLeR123
Re: Check if string is empty

But wait, isn't null \0? It would be different from 0, wouldn't it? Sorry but I'm way too used to writing C, in fact I've never even learned Small, I just code all my AMX scripts as if they were C...
Forum: Scripting Help 11-24-2006, 08:45
Replies: 13
Views: 6,006
Posted By KiLLeR123
Re: Check if string is empty

But as you say, some_string[0] doesn't always correspond to the length, if you assign it other values.

Still, would if (equal(some_string,"")) work?

Or maybe I should just use if...
Forum: Scripting Help 11-24-2006, 06:58
Replies: 13
Views: 6,006
Posted By KiLLeR123
Check if string is empty

Would the following work?


if (equal(some_string,""))
/* Do some stuff */


Otherwise how to check if some_string is empty?
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 07:01.


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