source:
trunk/Utilities/JsObjectDispatch/TestB.vbs
@
937
Last change on this file since 937 was 919, checked in by , 4 years ago | |
---|---|
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 | |
3 | Set foo = CreateObject("AlaxInfo.JsObjectDispatch.Foo") |
4 | |
5 | 'Dim a |
6 | 'a = foo.barB |
7 | 'MsgBox a(0) |
8 | |
9 | Function TrueArray(ByVal Value) |
10 | TrueArray = Value |
11 | End Function |
12 | |
13 | 'MsgBox TrueArray(foo.barB)(0) |
14 | MsgBox foo.barB(0) |
Note: See TracBrowser
for help on using the repository browser.