Show: Delphi C++
Display Preferences

System.Boolean

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type Boolean = (False, True);

C++

typedef bool                 Boolean;          //

Properties

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

Description

Represents the preferred predefined Boolean type.

Boolean values are denoted by the predefined constants True and False. A Boolean value is considered True when its ordinality is 1, and False when its ordinality is 0 (zero).

A Boolean variable occupies 1 byte of memory.

See Also

Personal tools
RAD Studio 10.2 Tokyo
In Other Languages
Previous Versions
Assistance