Quote:
Originally Posted by mjcoon
Yes, the relaxed implicit-variant treatment of local variables does not work for arrays. This is because all elements of the array have to have the same variant for the indexing mechanism to work
|
You are making it sound much more complicated than it really is, it is really very simple. Normal variables, both global and local are just string variables. Arrays of the type they are declared as or strings if no type is specified. Numeric operations are always performed on Doubles and variables and arrays are coerced to and from Doubles when required for arithmetic operations. Boolean values are represented as the strings "true" and "false".