What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] Boolean values

[?] Boolean values
Author: Message:
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: [?] Boolean values
quote:
Originally posted by SpunkyLoveMuff
Thanks. Had to use *-1 though because it's a negative value in the registry :p

EDIT: But still, why was I getting an object?
because its a wrapper class for a primitive type to get the primitive type use the valueOf method

code:
var x = new Boolean(1);
var bool = x.valueOf();

[Image: dt2.0v2.png]      Happy Birthday, WDZ
02-28-2008 01:30 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] Boolean values - by Spunky on 02-28-2008 at 01:02 PM
RE: [?] Boolean values - by TheBlasphemer on 02-28-2008 at 01:04 PM
RE: [?] Boolean values - by Spunky on 02-28-2008 at 01:07 PM
RE: [?] Boolean values - by -dt- on 02-28-2008 at 01:30 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