15.05.2011, 14:23
How to check if integer has no value? Not 0, or anything. Just null/nil/we?
new Integer = 0;
if( Integer == 0 )
{
print( "Integer value is: 0" );
}
else
{
print( "Integer value isn't 0" );
}
new str[2];
if(str[1] == '\0' || str[0] == '\0') return print("null");
new Value;
if( !Value ) {
print("Null");
}
else {
print("Not null");
}
You talking about
pawn Код:
|
if( integer == null)