Short-circuit evaluation: Difference between revisions

Content added Content deleted
(Added Fōrmulæ)
Line 958: Line 958:


=={{header|Elena}}==
=={{header|Elena}}==
ELENA 4.x :
ELENA 4.1 :
<lang elena>import system'routines;
<lang elena>import system'routines;
import extensions;
import extensions;
Line 966: Line 966:
Func<bool, bool> b = (bool x){ console.writeLine:"b"; ^ x };
Func<bool, bool> b = (bool x){ console.writeLine:"b"; ^ x };


const bool[] boolValues = new bool[] { false, true };
const bool[] boolValues = new bool[]::( false, true );
public program()
public program()