Well KiXtart allows for too much in my opinion when it comes to VarType comparisons. This would all be much more logical if you could declare the variable type when you declare the variable in the first place, much like VB.
For instance if you would have to do it like this:
 Code:
Dim $tmp As String = "a"
Dim $int As Integer = 0

You would not even think about comparing them.