On Tuesday, July 29, 2003, at 04:26 PM, Dar Scott wrote:

tSomeNonexistentVariable gets evaluated as a string, so that's what's in p2, which is why the "+" operation fails on the RHS.

What's more important is that string is empty, as in "", and that is not a numeral and can't be interpreted as a number.

put empty + empty --> 0

Actually in my example, p2 is not empty, it's literally the string "tSomeNonexistentVariable". I am now checking if the parameters are integers, before summing them.

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to