Break
Previous
Top
Next
Prototype
Break
Description
It breaks a cycle immediately before reaching the exit condition.
Parameters
None.
Returned value
None.
Notes
None.
Example
//it initializes a counter
Counter:=1;
//It starts a cycle ending when the top of the table is reached
While true do
Begin
//It increases the variable "Counter"
Inc(Counter);
ApplicationLog(_CurrentAgent,IntToStr(Counter));
//escaping condition
if Counter=100 then break;
End;