bool

Module: ecereCOM
Type: Enumeration
Base Class: uint

Description

Boolean value (true or false) stored as a 32 bit unsigned integer

Enumeration Values

  true1One of the only two values that a boolean can be set to.
  false0One of the only two values that a boolean can be set to.

Usage


Used in the declaration section of code, which is before any statements.

Example

bool thisBool; // A stand alone declaration of a bool.
bool a, b; // Declaring two bools at the same time.
bool c = true, d = false; // Declaring two bools, and initializing them both at the same time.

Remarks


A bool type describes a boolean type variable and can only store a true or false value.

bool is equivalent to a bool in C.

Derived Classes

FileAttribs, ObjectNotationType, BackSlashEscaping

See Also


byte, char, char *, double, enum, float, int, int64, uint, uint16, uint32, uint64, OnCompare(), OnCopy(), OnDisplay(), OnEdit(), OnFree(), OnGetDataFromString(), OnGetString(), OnSaveEdit(), OnSerialize(), OnUnserialize()