[Bug 35110] LabChart Reader 8 installer ends prematurely (VBScript parser fails to recognize class variables declared with 'Dim' within class statement)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Feb 25 16:12:39 CST 2014


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
            Summary|LabChart Reader 8 installer |LabChart Reader 8 installer
                   |ends prematurely            |ends prematurely (VBScript
                   |                            |parser fails to recognize
                   |                            |class variables declared
                   |                            |with 'Dim' within class
                   |                            |statement)

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

confirming, still present.

Original code (shorted to include only the problematic class statement):

--- snip ---
class SessionType
    Public Properties
    Dim Quiet

    Public Default Sub Init ()
        Set Properties = CreateObject ("Scripting.Dictionary")
        Quiet = true
    End Sub

    Public Property Get Property (name)
        if Not Quiet and not Properties.Exists (name) then
            Echo "Get creating property " & name
            Properties.Item (name) = ""
        end if

        Property = Properties.Item (name)
    End Property

    Public Property Set Property (name, value)
        if Not Quiet and not Properties.Exists (name) then
            Echo "Set creating property " & name
        end if

        Properties.Item (name) = value
        if Not Quiet Then Echo "Set " & name & " to '" & value & "'"
    End Property

    Public Property Let Property (name, value)
        Properties.Item (name) = value
        if Not Quiet Then Echo "Let " & name & " = '" & value & "'"
    End Property

    Public Sub SetQuiet (beQuiet)
        Quiet = beQuiet
    End Sub
End Class

--- snip ---

Wine's VBScript parser doesn't like class variables declared with 'Dim' within
class statement.

$ sha1sum LabChartReader_v8.0.msi 
2d4f4ffc88e1b40f76d5fa95bdf9ac1a2dea1162  LabChartReader_v8.0.msi

$ du -sh LabChartReader_v8.0.msi 
43M    LabChartReader_v8.0.msi

$ wine --version
wine-1.7.13-53-g37e0a1a

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