sswift:
It makes perfect sense to me that Len(Anything).ToString would perform the Len(Anything) operation first, and then do the ToString on whatever object was returned from Len().
BlitzMax documentation: (in the "Expressions" section) BlitzMax supports the following operators. Operators are grouped into levels of precedence, starting with the highest precedence operators:
Skidracer: (about this problem in the "BlitzMax Update V1.22 Up!" thread)..... True True False False -------------------------------------------------------- Member access Expression.Expression Index Expression[Subscripts] Invoke Expression(Parameters) -------------------------------------------------------- Negate - Expression Posate + Expression ..... Character code value Asc Expression Character Chr Expression Length of value Len Expression Size of value in bytes SizeOf Expression Address of variable Varptr Expression .....
The precedence of the . (member access operator) is documented as being higher than the Len operator