Difference between revisions of "True"

From Lazarus wiki
Jump to navigationJump to search
m
Line 1: Line 1:
The [[Const|const]]ant '''true''' is used to define the truth condition in a [[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.
  
 
This constant value must be predefined by the compiler as there is no way to define it in terms of anything else.
 
This constant value must be predefined by the compiler as there is no way to define it in terms of anything else.

Revision as of 07:35, 17 October 2007

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.