[PATCH] vbscript: Implemented IsNumeric

Shuai Meng mengshuaicalendr at gmail.com
Thu Jul 17 00:23:10 CDT 2014


Thanks for commenting, I'm working on it now.


2014-07-17 11:11 GMT+08:00 Dmitry Timoshkov <dmitry at baikal.ru>:

> Shuai Meng <mengshuaicalendr at gmail.com> wrote:
>
> > +        switch(V_VT(arg)) {
> > +        case VT_UI1:
> > +        case VT_I2:
> > +        case VT_I4:
> > +        case VT_I8:
> > +        case VT_R4:
> > +        case VT_R8:
> > +        case VT_BOOL:
> > +        case VT_EMPTY:
> > +        case VT_CY:
> > +            V_BOOL(res) = VARIANT_TRUE;
> > +            break;
>
> This list is far from being complete. It seems that it should also
> contain at least VT_UI2, VT_UI4, VT_UI8, VT_I1, VT_INT, VT_UINT.
> VT_VECTOR, VT_ARRAY and VT_BYREF modifers probably also should be
> taken into account.
>
> --
> Dmitry.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20140717/b3207798/attachment.html>


More information about the wine-devel mailing list