March 20, 2026
5:26 p.m.
When assigning with an index to a variable that is not an array or object (e.g. x(0) = 42 where x is undeclared or holds an integer), return DISP_E_TYPEMISMATCH which maps to VBS error 13 (Type mismatch), matching Windows behavior. -- v4: vbscript: Return type mismatch error for indexed assignment to non-array variables. https://gitlab.winehq.org/wine/wine/-/merge_requests/10406