Jump to content

BOOL: Difference between revisions

From EDM2
Added BOOL's values
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Base type ==
Boolean
[[unsigned long]]
 
== Values ==
==Type==
[[TRUE]]
unsigned long
[[FALSE]]
 
==C Declaration Method==
typedef unsigned
 
==Comment==
Values are:
*[[TRUE]], which is 1
*[[FALSE]], which is 0
 
==Example==
typedef unsigned long BOOL;
 
==PBOOL==
Pointer to BOOL
typedef BOOL *PBOOL;
 
[[Category:Data type]]

Latest revision as of 00:35, 9 June 2025

Boolean

Type

unsigned long

C Declaration Method

typedef unsigned

Comment

Values are:

Example

typedef unsigned long BOOL;

PBOOL

Pointer to BOOL

typedef BOOL *PBOOL;