Quote:
if (!%x) would be true if %x were $false or $null or 0 or 0000000 ... any negative value or no value at all.

if (%x == $null) would only be true if %x has no value at all.

~ Edit ~

hixxy beat me to it smile

not true for negative values (only $false, 000...000, $null)

Last edited by stefys99; 16/04/06 09:36 PM.