https://bugs.winehq.org/show_bug.cgi?id=53783
Bug ID: 53783 Summary: vbscript can not compile private const expressions Product: Wine Version: 7.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs@winehq.org Reporter: jsm174@gmail.com Distribution: ---
While working on leveraging the vbscript engine of Wine for a macos/linux port of Visual Pinball, I've been testing several user made scripts.
I've found some scripts that have constants that are marked private even though they are not part of class. Somehow that works in real VBS but fails here:
Private Const conStackSw = 8 ' Stack switches Private Const conMaxBalls = 13 ' Because of Apollo 13 Private Const conMaxTimers = 20 ' Spinners can generate a lot of timers Private Const conTimerPulse = 40 ' Timer runs at 25Hz Private Const conFastTicks = 4 ' Fast is 4 times per timer pulse Private Const conMaxSwHit = 5 ' Don't stack up more than 5 events for each switch
Wscript.Echo conStackSw Wscript.Echo conMaxBalls Wscript.Echo conMaxTimers