Remember that all KiXtart types are VARIANT, as documented in the manual.

This means that it is behaving correctly when promoting variables to different sub-types, and IIRC there are similar processes in other languages which support variants.

Strongly typed variable support has its place, but it would probably hinder KiXtart more than provide anything useful. If we had direct access to things like DLL function calls it would be more important.

This auto-conversion of variant types is probably the reason many of us still use short form Hungarian notation for variable names when it has largely fallen out of favour.