Back

Break:

Break will cause a control to exit a For, While, or Repeat statement.

Example:
This example comes from Greg Liefs Delphi Tip "DELAYING PROGRAM EXECUTION".

while True do begin
     if Time >= dtNow + dtSecs then
        Break;
   end;


Back