dim hWeb = ""
dim arrayData = ""
dim arrayData1 = ""
dim 数组1 = ""
dim 数组2 = ""
dim 新数组=""
dim index=""
dim 组合数组
dim 前面数量=0,后面数量=0
hWeb = WebBrowser.BindBrowser("chrome",10000,{"bContinueOnError":false,"iDelayAfter":300,"iDelayBefore":200})
arrayData = UiElement.DataScrap({"html":{"attrMap":{"parentid":"ttp","tag":"TABLE"},"index":2,"tagName":"TABLE","title":"梦想云管理平台","url":"https://a.mxyun.com/"},"wnd":[{"app":"chrome","cls":"Chrome_WidgetWin_1","title":"*"},{"cls":"Chrome_RenderWidgetHostHWND","title":"Chrome Legacy Window"}]},{"Columns":[],"ExtractTable":1},{"objNextLinkElement":"","iMaxNumberOfPage":5,"iMaxNumberOfResult":-1,"iDelayBetweenMS":1000,"bContinueOnError":false})
arrayData1 = UiElement.DataScrap({"html":{"attrMap":{"css-selector":"body>div>div>div>div>div>div>div>div>div>div>div>div>table","parentid":"ttp","tag":"TABLE"},"index":0,"tagName":"TABLE","title":"梦想云管理平台","url":"https://a.mxyun.com/"},"wnd":[{"app":"chrome","cls":"Chrome_WidgetWin_1","title":"*"},{"cls":"Chrome_RenderWidgetHostHWND","title":"Chrome Legacy Window"}]},{"Columns":[],"ExtractTable":1},{"objNextLinkElement":"","iMaxNumberOfPage":5,"iMaxNumberOfResult":-1,"iDelayBetweenMS":1000,"bContinueOnError":false})
组合数组=[]
index = 0
dim 数组下标 = UBound(arrayData)
//每次循环时将两个数组前后拼接起来
For i = 0 To 数组下标 step 1
数组1 = []
数组2 = []
新数组=[]
数组1=(arrayData[前面数量])
数组2=(arrayData1[后面数量])
新数组 = join_array(数组1,数组2)
组合数组[index] = 新数组
前面数量=前面数量+1
后面数量=后面数量+1
index=index+1
Next
For Each value In 组合数组
TracePrint value
Next
Function join_array(arr1, arr2)
dim newarr = []
dim i = 0
for each e in arr1
newarr[i] = e
i = i + 1
Next
for each e in arr2
newarr[i] = e
i = i + 1
Next
return newarr
End Function