Jump to content

BOOL: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Boolean
Boolean


;Type
==Type==
unsigned long
unsigned long


;Comment
==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;



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;