System.ByteBool

From RAD Studio API Documentation
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