I'm trying to write a script that will put event names of a particular group into an array. There are no examples in the help file. Could anyone help me out?
Thanks
Thanks
If this is your first visit, be sure to check out the FAQ. You must register before you can post.
IMPORTANT: Your first post will be checked for appropriate content. This may take a bit of time.
Sub Main(ByVal Parm As Object) Dim returnArr() As strEventData = hs.Event_Info_Group(1051382564) Dim arrEvNames(0) As String For i As Integer = 0 To returnarr.getupperbound(0) arrEvNames(i) = returnArr(i).Event_Name ReDim Preserve arrEvNames(i + 1) Next ReDim Preserve arrEvNames(returnarr.getupperbound(0)) For Each evName As String In arrEvNames hs.writelog("ArrayRead", evName) Next End Sub
Comment