A version of the logical operators which use lazy evaluation.
The first argument is always evaluated but the second argument is only evaluated if needed.
Hence
Namespace:
SingularSys.Jep.Functions- 0 || arg2 arg2 is evaluated
- 1 || arg2 arg2 is not evaluated and true is returned
- 0 && arg2 arg2 is not evaluated and false is returned
- 1 && arg2 arg2 is evaluated
Assembly: Jep (in Jep.dll) Version: 1.1.0.0 (1.0.0)
Syntax
C# |
---|
public class LazyLogical : PostfixMathCommand, ICallbackEvaluation |
Visual Basic (Declaration) |
---|
Public Class LazyLogical _ Inherits PostfixMathCommand _ Implements ICallbackEvaluation |
Visual C++ |
---|
public ref class LazyLogical : public PostfixMathCommand, ICallbackEvaluation |
Inheritance Hierarchy
System..::.Object
SingularSys.Jep.Functions..::.PostfixMathCommand
SingularSys.Jep.Functions..::.LazyLogical
SingularSys.Jep.Functions..::.PostfixMathCommand
SingularSys.Jep.Functions..::.LazyLogical