Difference between revisions of "True"

From Lazarus wiki
m
Line 1: Line 1:
 +
{{True}}
 +
 
The [[Const|const]]ant '''true''' is used to define the truth condition in a [[Boolean|boolean]] variable, as opposed to its opposite, [[False|false]].  This is a [[manifest constant]] which is defined as part of the [[Standard type|standard data types]] the compiler initially knows about.
 
The [[Const|const]]ant '''true''' is used to define the truth condition in a [[Boolean|boolean]] variable, as opposed to its opposite, [[False|false]].  This is a [[manifest constant]] which is defined as part of the [[Standard type|standard data types]] the compiler initially knows about.
  

Revision as of 11:26, 11 December 2013

Deutsch (de) English (en) français (fr) русский (ru) 中文(中国大陆)‎ (zh_CN)

The constant true is used to define the truth condition in a boolean variable, as opposed to its opposite, false. This is a manifest constant which is defined as part of the standard data types the compiler initially knows about.

This constant value must be predefined by the compiler as there is no way to define it in terms of anything else.