Skip to content

Short Circuit Operators

Paul Squires edited this page Sep 19, 2026 · 1 revision

Home › Operators › Short Circuit Operators

Short Circuit Operators

Operators that perform a short circuit logical evaluation.

The short circuit operators perform a evaluation on the left hand operand, and depending on the result, may go on to evaluate the right hand side. The evaluations take place logically, in a comparison to zero.

Operator Andalso (Short Circuit Conjunction)

Returns the result of a short circuit conjunction of two operands.

Operator Orelse (Short Circuit Inclusive Disjunction)

Returns the result of a short circuit inclusive or of two operands.


Category: Operators


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally