subhailc
11-04-2004, 10:17 AM
what's the syntax for "undefined" or NaN?
trying to say
p == undefined ? p = 0 : p+=x;
'if p isn't yet defined, assign a value of 0, otherwise add x's value to the whatever it is at the moment.'
trying to say
p == undefined ? p = 0 : p+=x;
'if p isn't yet defined, assign a value of 0, otherwise add x's value to the whatever it is at the moment.'