Difference between revisions of "System.ByteBool"

From RAD Studio API Documentation
Jump to: navigation, search
m (RAD-10735)
 
(updated links to redirects)
 
Line 18: Line 18:
 
* [[System.WordBool]]
 
* [[System.WordBool]]
  
* [[rad_en:Simple Types#Boolean Types|Boolean Types]]
+
* [[rad_en:Simple Types (Delphi)#Boolean Types|Boolean Types]]
  
 
[[Category:API Documentation]]
 
[[Category:API Documentation]]
 
<!--End API Documentation-->
 
<!--End API Documentation-->

Latest revision as of 19:07, 4 January 2016

Delphi

type ByteBool = False..Boolean(255);

C++

typedef unsigned char        ByteBool;         //

Properties

Type Visibility Source Unit Parent
type
typedef
public
System.pas
sysmac.h
System System

Description

Represents an 8-bit predefined Boolean type.

Boolean values are denoted by the predefined constants True and False. A ByteBool value is considered False when its ordinality is 0, and True otherwise.

A ByteBool variable occupies 1 byte of memory.

Note: The ByteBool, WordBool, and LongBool types exist to provide compatibility with other languages and operating system libraries.

See Also