Dim clsx As New Classe2
Sub test2()
clsx.nom = "robert"
x = Array("gaston", "paul", "henry")
For i = 0 To 2
clsx.AddChild CStr(x(i))
Next
y = Array("kevin", "edouard", "imann")
For i = 1 To 3
clsx.child(i).AddChild CStr(y(i - 1))
Next
MsgBox "le petit fil de """ & clsx.nom & """ se nommant """ & y(2) & """ est le fils de'" & clsx.child(3).child(1).pere.nom
End Sub