Programs
General

Comments
Constants
Exceptions
Execution Environments
Identifiers
Relaxations
Spacing
T-Tables
Text
Variables

Lines
Expressions
Types
Operators
Binary Arithmetic Operators
Boolean Operators
Conversion Operators
Relational Operators
Structural Operators
Unary Arithmetic Operators

Literals
Comments
Constants
Exceptions
Execution Environments
Identifiers
Relaxations
Spacing
T-Tables
Text
Variables

Lines
Expressions
Types
Operators
Binary Arithmetic Operators
Boolean Operators
Conversion Operators
Relational Operators
Structural Operators
Unary Arithmetic Operators

Literals
The following is the documentation for boolean operators.

Syntax: `x = a && b`

Description: Sets x to true if a and b are true, else sets x to false.

In many languages (not all, e.g. not VB.NET) this operator is short-circuiting, meaning b is not evaluated if a is false. In this language, both are evaluated. Do not use mutating functions nested in the operands as this will cause differing behavior when the language is short-circuiting.

Syntax: `x = a || b`

Description: Sets x to true if a or b are true, else sets x to false.

In many languages (not all, e.g. not VB.NET) this operator is short-circuiting, meaning b is not evaluated if a is true. In this language, both are evaluated. Do not use mutating functions nested in the operands as this will cause differing behavior when the language is short-circuiting.

Syntax: `x = !a`

Description: Sets x to false if a is true, and true if a is false.

We would be more than happy to help you. Our opening hours are 9–15 (CET).

📞 (+47) 93 68 22 77

Nils Bays vei 50, 0876 Oslo, Norway

Copyright © 2018-23 progsbase.com by Inductive AS.