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