# Frictional Game Wiki

### Site Tools

hpl2:amnesia:script_language_reference_and_guide:types

# Differences

This shows you the differences between two versions of the page.

 hpl2:amnesia:script_language_reference_and_guide:types [2012/12/28 02:32]thegreatcthulhu old revision restored (2012/12/28 02:27) hpl2:amnesia:script_language_reference_and_guide:types [2013/01/03 13:00]thegreatcthulhu Both sides previous revision Previous revision 2013/01/03 14:18 thegreatcthulhu Deleted a sentence... Apparently, it was not true! :D Good!2013/01/03 13:00 thegreatcthulhu 2012/12/28 02:32 thegreatcthulhu old revision restored (2012/12/28 02:27)2012/12/28 02:30 thegreatcthulhu some errors...2012/12/28 02:27 thegreatcthulhu 2012/12/26 21:14 thegreatcthulhu 2012/12/26 21:05 thegreatcthulhu 2012/12/22 19:19 thegreatcthulhu 2012/12/22 19:17 thegreatcthulhu 2012/12/22 19:16 thegreatcthulhu 2012/12/22 19:12 thegreatcthulhu 2012/12/22 19:11 thegreatcthulhu created 2013/01/03 14:18 thegreatcthulhu Deleted a sentence... Apparently, it was not true! :D Good!2013/01/03 13:00 thegreatcthulhu 2012/12/28 02:32 thegreatcthulhu old revision restored (2012/12/28 02:27)2012/12/28 02:30 thegreatcthulhu some errors...2012/12/28 02:27 thegreatcthulhu 2012/12/26 21:14 thegreatcthulhu 2012/12/26 21:05 thegreatcthulhu 2012/12/22 19:19 thegreatcthulhu 2012/12/22 19:17 thegreatcthulhu 2012/12/22 19:16 thegreatcthulhu 2012/12/22 19:12 thegreatcthulhu 2012/12/22 19:11 thegreatcthulhu created Last revision Both sides next revision Line 119: Line 119: The ''​bool'' ​ type is used to represent the values ''​true'' ​ and ''​false''​. Variables of ''​bool'' ​ type are useful //as indicators//​. You can use them to represent binary states (for example, on/off switches), or indicate if some event happened or not. You can use them as return values of functions, to indicate the success or failure of an operation. \\ The ''​bool'' ​ type is named after George Boole, an English mathematician,​ philosopher and logician, who first defined an algebraic system of logic in the mid 19th century. The ''​bool'' ​ type is used to represent the values ''​true'' ​ and ''​false''​. Variables of ''​bool'' ​ type are useful //as indicators//​. You can use them to represent binary states (for example, on/off switches), or indicate if some event happened or not. You can use them as return values of functions, to indicate the success or failure of an operation. \\ The ''​bool'' ​ type is named after George Boole, an English mathematician,​ philosopher and logician, who first defined an algebraic system of logic in the mid 19th century. + + For more info about the operations available for the ''​bool''​ type, see [[hpl2:​amnesia:​script_language_reference_and_guide:​control_flow_-_conditional_statements#​comparison_operators|Comparison Operators]] and [[hpl2:​amnesia:​script_language_reference_and_guide:​control_flow_-_conditional_statements#​using_logical_operators|Using Logical Operators]].