In a message dated 3/30/2004 8:19:18 PM Pacific Standard Time, 
[EMAIL PROTECTED] writes:


> A = 1 assigns a numeric integer. The expression need not contain operators
> (+,-,etc) to be numeric.
> A = "1" assigns a string however, as you have explicitly declared it to be
> string.
> A = "1" + 2 assigns a numeric integer value (3) as the result is numeric.
> A = "one" + 2 assigns a zero - according to the error message.

yes
no
yes
yes

they all assign numerics imho
"1" is cast as a numeric because the system is smart enough to realize its a 
numeric string and has no purpose casting it as a string
   Any idea how to test which it is?
Will
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to