[Bug 58056] New: vbscript: Directly indexing a Split returns Empty
https://bugs.winehq.org/show_bug.cgi?id=58056 Bug ID: 58056 Summary: vbscript: Directly indexing a Split returns Empty Product: Wine Version: 10.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs(a)winehq.org Reporter: francisdb(a)gmail.com Distribution: --- test.vbs Dim s: s = "1;2" Dim a: a = Split(s, ";")(0) Wscript.Echo "a: " & TypeName(a) Wscript.Echo "a = " & a Dim b: b = Split(s, ";") Dim c: c = b(0) Wscript.Echo "c: " & TypeName(c) Wscript.Echo "c = " & c ❯ /opt/wine-devel/bin/wine cscript test.vbs a: Empty a = c: String c = 1 -- 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.
participants (1)
-
WineHQ Bugzilla