dim i as integer = ga.Count-1
for i as integer = 0 to c
AddGroup ga.Item(i)
next

// new code

dim ga() as ABGroupMBS = a.groups
for each g as ABGroupMBS in ga
AddGroup g
next

Old code used ABGroupArrayMBS class for an array. You needed to call count and item() functions. Now we changed that to use Real Studio arrays. So you can use For Each...Next loops and all the array functions in Real Studio like pop and ubound.
29 06 11 - 13:19