source: trunk/Utilities/JsObjectDispatch/TestB.vbs @ 937

Last change on this file since 937 was 919, checked in by roman, 4 years ago

Update and VBS test

File size: 349 bytes
Line 
1' https://stackoverflow.com/questions/59390073/how-to-access-an-array-directly-that-is-returned-from-a-function-in-vbscript
2
3Set foo = CreateObject("AlaxInfo.JsObjectDispatch.Foo")
4
5'Dim a
6'a = foo.barB
7'MsgBox a(0)
8
9Function TrueArray(ByVal Value)
10    TrueArray = Value
11End Function
12
13'MsgBox TrueArray(foo.barB)(0)
14MsgBox foo.barB(0)
Note: See TracBrowser for help on using the repository browser.