I tried this on a MCD spirit, D3 W2k and
AP-Pro as well and got the '1' and 567 that we're all getting.
It's been affirmed here and other places that MV
considers everything as a text variable (keep file handles and arrays out of
this discussion) and its numerological properties come into play only when we
expect it to behave as a number. Thus
X="ABCDEF123IKIJIJ" ;
Y="ZZZZ456ABCDEFG"
PRINT (X[7,3])+(Y[5,3])
would produce the 579 as well.
This brings up another aspect of the text/string
situation: Consider this
A="000000"[1,3] ;*zeros for both
lines
B="000000"[1,2]
PRINT (A=B)
and you would expect to get false as textually
speaking 000 is not 00. But left alone, these 2 variables can be concluded to be
numbers and thus equal even though their lengths are different.
my 1 cent.
|
_______________________________________________ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users