https://bugs.winehq.org/show_bug.cgi?id=55052
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- It's also worth testing what happens to the iteration step argument. I suspect that roughly the idea is to use types that won't produce precision loss, for some definition of loss. E.g. strings are producing floats, and then sum/compare is using either floats unconditionally or when one side is a float. I don't now how to test that properly, maybe using step of "1.6", limit as "2" and see how many iteration this produces.
In any case, after converting strings to something numeric, VarCmp() should start working properly.