[Bug 36368] MicrosoftFixit50588 tool raises a vbscript parsing error (single-line 'If...Then' with trailing 'End If')

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 14 17:50:00 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=36368

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |focht at gmx.net
            Summary|MicrosoftFixit50588 tool    |MicrosoftFixit50588 tool
                   |raises a vbscript parsing   |raises a vbscript parsing
                   |error                       |error (single-line
                   |                            |'If...Then' with trailing
                   |                            |'End If')
     Ever confirmed|0                           |1

--- Comment #1 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming.

Relevant part of the VBScript code that causes parser error:

--- snip ---
    If IsNull(GetOSSPVersion) Then GetOSSPVersion=0 End If 
    If Err.Number <> 0 Then GetOSSPVersion=0 End If
--- snip ---

Single-line 'If...Then' syntax doesn't require 'End If' (it's not even
mentioned).

MSDN: http://msdn.microsoft.com/en-us/library/5h27x7e9%28v=vs.84%29.aspx

Maybe they changed their mind with newer versions of the script language to
allow this?

$ wine --version
wine-1.7.34-36-g4493323

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list