Talk:GetDisabled

Active discussions

False Value?Edit

If the calling object is enabled, what does it return, 0? -1?...? --HawkFest 05:33, 19 February 2008 (EST)

For all "boolean" functions, that is, "true/false" functions like this one, "true" is 1 and "false" is 0.
Dragoon Wraith TALK 06:43, 19 February 2008 (EST)
Ok it returns a boolean. It wasn't that clear (I've seen many such methods or functions returning -1 when they don't return a boolean value on other platforms/APIs/Languages), which is why I asked. Btw, thanks a lot DragooWraith for taking your time answering questions. I'm sure you already have a full container of "thank you for your work" posts, so here's another oneĀ ;)... --HawkFest 22:44, 17 December 2008 (EST)
Return to "GetDisabled" page.