logical constant - true: true

logical constant - true is used as follows:

true

Description

true
Used keywords: true

Output

compatible programing languages:
Visual Basic .NET | FreeBASIC | C++ | Visual C++ .NET | C# | Java | JavaScript | Pascal | Free Pascal | Object Pascal | PHP

Examples

Example

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 = !false; // a1 = true
a2 = !true; // a2 = false

Example

Other pieces of example codes:
a || true
a || true
!b && true
c=true
true && true
true

you can find it in the following collections: constants
Languages: en hu cz sk