System.ByteBool

From RAD Studio API Documentation
Revision as of 12:20, 27 July 2012 by Denisa.ilascu (talk | contribs) (RAD-10735)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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