What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! General » Debug.Clear();

Debug.Clear();
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: Debug.Clear();
quote:
Originally posted by SuNcO
Ehmm.. i think you can click on Debug (ComboBox) and click on "Clean debug window" option ^o)
Yes you can, for the standalone debug window. Vikke's suggestion is about the debug window in the script editor itself.




------------------------------------------------------------

[OFF TOPIC]

quote:
Originally posted by SuNcO

Btw.. im wondering why can't do this..

function OnEvent_ChatWndCreated(ChatWnd) {
  var Contacts = ChatWnd.Contacts;
  for (i = 0; i < Contacts.Count(); i ++) {
    contacto = Contacts[i ];
    Debug.Trace(contacto.Email);
  }
}

I think is much easier then Enumerator
1) ChatWnd.Contacts isn't an array. It is an enumeration object.
2) Enumerations is equally easy and long as your code to program.
3) Enumerations are much more safer for stuff like that. In fact, your code will not show all contacts if a contact was added during the for...loop. The same problem will happen when you are actually manipulating the items and some item gets deleted from the list. In that case your i value will be bigger than the value of Contacts.Count resulting in an error and failure of the script.
4) In short: avoid using arrays for stuff like this.

[/OFF TOPIC]

This post was edited on 12-02-2007 at 01:31 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
12-02-2007 05:25 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Debug.Clear(); - by SuNcO on 12-01-2007 at 11:44 PM
RE: Debug.Clear(); - by CookieRevised on 12-02-2007 at 12:11 AM
RE: Debug.Clear(); - by vikke on 12-02-2007 at 12:22 AM
RE: Debug.Clear(); - by SuNcO on 12-02-2007 at 03:04 AM
RE: Debug.Clear(); - by Patchou on 12-02-2007 at 04:56 AM
RE: RE: Debug.Clear(); - by CookieRevised on 12-02-2007 at 05:25 AM
RE: RE: Debug.Clear(); - by vikke on 12-02-2007 at 10:02 AM
RE: Debug.Clear(); - by markee on 12-02-2007 at 08:01 AM
RE: Debug.Clear(); - by CookieRevised on 12-02-2007 at 01:34 PM
RE: Debug.Clear(); - by Patchou on 12-02-2007 at 04:18 PM
RE: Debug.Clear(); - by Spunky on 12-02-2007 at 04:21 PM
RE: Debug.Clear(); - by Patchou on 12-07-2007 at 03:32 AM
RE: Debug.Clear(); - by SuNcO on 12-07-2007 at 04:12 AM
RE: Debug.Clear(); - by Felu on 12-08-2007 at 05:10 PM
RE: Debug.Clear(); - by markee on 12-09-2007 at 02:02 AM
RE: Debug.Clear(); - by Felu on 12-09-2007 at 02:17 AM
RE: Debug.Clear(); - by CookieRevised on 12-09-2007 at 03:42 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On