TatCustomScripter.ShortBooleanEval Property
Indicates whether boolean expressions use short-circuit evaluation, stopping as soon as the result is known.
Remarks
When ShortBooleanEval property is true, the boolean expression will be available only when needed, just like Delphi. For example, for an expression "if (IsEnabled) or (IsVisible) then..." , if IsEnabled returns true, the method IsVisible is not even called, because the boolean value of expression is already known to be true. When ShortBooleanEval property is false, the whole boolean expression is evaluated. ShortBooleanEval is false by default in old TatPascalScripter and TatBasicScripter for backward compatibility. In TatScripter component, it is true by default.
Syntax
Unit: atScript
property TatCustomScripter.ShortBooleanEval: Boolean