BOOL: Difference between revisions
Appearance
No edit summary |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Boolean | Boolean | ||
== Type == | ==Type== | ||
unsigned long | unsigned long | ||
== | ==C Declaration Method== | ||
typedef unsigned | |||
==Comment== | |||
Values are: | Values are: | ||
*[[TRUE]] | *[[TRUE]], which is 1 | ||
*[[FALSE]] | *[[FALSE]], which is 0 | ||
== Example == | ==Example== | ||
typedef unsigned long BOOL; | typedef unsigned long BOOL; | ||
==PBOOL== | |||
Pointer to BOOL | |||
typedef BOOL *PBOOL; | |||
[[Category:Data type]] | [[Category:Data type]] |