Short circuit boolean evaluation

Short circuit boolean evaluation

Good evening...

I was wondering how creator handles boolean evaluations, does it use "short-circuit" evaluation?

What I mean is if I have the following statement:
if (a || b)
{
...
}




Then if a is true it will NOT evaluate b and execute the if block (a or b could require counting records that meet certain criteria or other complex operations).

Similarly, if I have:
if (a && b)
{
...
}




The if a is false it will not evaluate b and skip the if block.

Thanks,