GetStressTest Function

Action

Gets the current value of the stress test switch.

Include file

Kernel.bdh

Syntax

GetStressTest(): boolean;

Return value

  • true if stress test is set

  • false otherwise

Example

dcltrans
  transaction TInit
  begin
    write("StressTest: ");

    if GetStressTest() then
      write("true")
    else
      write("false")
    end;

    writeln;
  end TInit;