Object Pascal - logical constant - true: true

logical constant - true is used as follows:

true

Description

true
Used keywords: true

Output

Examples

Object Pascal

in the source code you can find the equivalent of the above table, for easier orientation at the end of each line is a comment which shows the result.
a1 := not false; // a1 = true
a2 := not true; // a2 = false

Object Pascal

Other pieces of example codes:
a and true
c:=true
true
a or true
true and true
not b and true

you can find it in the following collections: constants
logical constant - true in another programming language:
Differences to:
Languages: en hu cz sk