code:for(var oContact = new Enumerator(ChatWnd.Contacts); !oContact.atEnd(); oContact.moveNext()){ Debug.Trace(oContact.item().Name); }