Logical operators

Three or four logical operations are available, exactly how much it depends on the particular programming language that we use. with these operations, we can solve any logical task or condition. these logical conditions are for example connections of comparing values according to certain rules, testing values. logical operations are mainly used in the execution of conditional statements.
logical and
par1 && par2

par1 and par2

par1 and par2

par1 AndAlso par2
logical or
par1 || par2

par1 or par2

par1 or par2

par1 OrElse par2
logical negation
! par1

not par1

Example

Other pieces of example codes:
a || true
a && true
!(10 >a || a<5)
Languages: en hu cz sk