[wpkg-users] wpkg.js TODO list

Malte Starostik malte at malte.homeip.net
Mon May 17 14:41:12 CEST 2010


Am Montag, 17. Mai 2010 14:16:30 schrieb Daniel Dehennin:
> > I use an Scriptint.Dictionary because I needed the .count to test for
> > null <host />.
> >
> > I'll give a try to {}.
> 
> Ok, "{}" is the same as new Object();
> 
> var hostAttributes = new Object();
> is equivalent to
> var hostAttributes = {};
> 
> So, no .length attribute, I'm stuck with Scripting.Dictionary or I need
> to define some hash_length() function to loop over all "attributes" and
> count them.

I see, for quick access to the attribute count it's indeed convenient.

Cheers,
Malte



More information about the wpkg-users mailing list