Jump to content

BOOL: Difference between revisions

From EDM2
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Boolean
Boolean


== Type ==
==Type==
unsigned long
unsigned long


== Coment ==
==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]]

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;