Difference between revisions of "ObjectType:bool"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 4: Line 4:
 
== Members ==
 
== Members ==
 
''(none)''
 
''(none)''
 +
 +
== Methods ==
 +
* '''Toggle''': Toggles between TRUE and FALSE
 +
* '''Set['''formula''']''': Sets this bool to a specific value
  
 
== Returns ==
 
== Returns ==
Line 11: Line 15:
  
 
== See Also ==
 
== See Also ==
 +
* [[LavishScript:Data Types|Data Types]]

Revision as of 22:38, 22 February 2005

Description

Short for boolean, a bool groups all numbers into exactly two categories, one called TRUE and one called FALSE. The TRUE category is made up of all numbers except for zero, and the FALSE category is made up of only zero.

Members

(none)

Methods

  • Toggle: Toggles between TRUE and FALSE
  • Set[formula]: Sets this bool to a specific value

Returns

TRUE or FALSE

Examples

See Also