What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Need a counter for a specific contact

Need a counter for a specific contact
Author: Message:
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
RE: Need a counter for a specific contact
No, an array structure has nothing to do with the messenger plus documentation, its in the JScript documentation from Microsoft.
http://www.microsoft.com/downloads/details.aspx?f...BB9&displaylang=en

snippet from the docs:
quote:
Traditionally, array elements are given numeric indices, starting at zero. It is these elements that interact with the length property. Nevertheless, because all arrays are also objects, they support expando properties as well. Note, though, that expando properties do not interact with the length property in any way. For example:

// An array with three elements
var myArray = new Array(3);

// Add some data
myArray[0] = "Hello";
myArray[1] = 42;
myArray[2] = new Date(2000, 1, 1);

// This will display 3, the length of the array
window.alert(myArray.length);

// Add some expando properties
myArray.expando = "JScript!";
myArray["another Expando"] = "Windows";

// This will still display 3, since the two expando properties
// don't affect the length.
window.alert(myArray.length);
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
09-18-2008 08:30 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Need a counter for a specific contact - by chadchoud on 09-18-2008 at 08:04 PM
RE: Need a counter for a specific contact - by MeEtc on 09-18-2008 at 08:17 PM
RE: RE: Need a counter for a specific contact - by chadchoud on 09-18-2008 at 08:19 PM
RE: Need a counter for a specific contact - by MeEtc on 09-18-2008 at 08:30 PM
RE: Need a counter for a specific contact - by chadchoud on 09-18-2008 at 08:56 PM


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