[DGD] A short question about nil, comparisons and strings.

Robert Forshaw iouswuoibev at hotmail.com
Wed Jan 7 00:18:05 CET 2004


Ithe logical not operator is proceeded with 'nil', does it return true or 
false? I am assuming !0 is true and !nil is true in my code so far.

What about strings? What is a string initiated as, "", 0, or nil? Are all 
those constants different?

_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you. 
http://www.msn.co.uk/internetaccess

_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list