e3bb4552
by Francis De Brabandere at 2026-06-24T23:38:06+02:00
vbscript: Raise type mismatch when comparing an array.
A comparison with an array operand reached VarCmp, which rejects it with
DISP_E_BADVARTYPE; that maps to error 458 "Variable uses an Automation type
not supported in VBScript". Native raises error 13 "Type mismatch" instead,
for every relational operator and regardless of the other operand. Gate
array operands in var_cmp before VarCmp is reached.