[?] Boolean values - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: [?] Boolean values (/showthread.php?tid=81982) [?] Boolean values by Spunky on 02-28-2008 at 01:02 PM
Another n00b question. code: Should return a boolean value that equals true right? Well, instead I get an object. Whats the deal-i-o? RE: [?] Boolean values by TheBlasphemer on 02-28-2008 at 01:04 PM
show_in_psm = (get("show_in_psm")*1)>0; RE: [?] Boolean values by Spunky on 02-28-2008 at 01:07 PM
Thanks. Had to use *-1 though because it's a negative value in the registry RE: [?] Boolean values by -dt- on 02-28-2008 at 01:30 PM
quote:because its a wrapper class for a primitive type to get the primitive type use the valueOf method code: |