https://bugs.winehq.org/show_bug.cgi?id=53670
Bug ID: 53670 Summary: vbscript can not compile if expressions with reversed gte, lte, (=>, =<) Product: Wine Version: 7.16 Hardware: x86-64 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs@winehq.org Reporter: jsm174@gmail.com
While working on leveraging the vbscript engine of Wine for a macos port of Visual Pinball, I've been testing several user made scripts.
I've found several scripts that use if expressions with gte and lte in reversed order, ie => and =<, which fail to compile.
vbscript does seem to allow for these to be reversed:
Set g_objWSH = Wscript.CreateObject("Wscript.Shell")
dim x dim y
x = 6 y = 6
If x => y Then Wscript.Echo "This works 1" End If
If x >= y Then Wscript.Echo "This works 2" End If
If x <= y Then Wscript.Echo "This works 3" End If
If x =< y Then Wscript.Echo "This works 4" End If