Looping in Delphi

1. for-to-do for i:=LowBound to HighBound do begin Code; end; 2. for-downto-do for i:=HighBound downto LowBound do begin Code; end; 3. repeat-until repeat Code; until Condition; 4. while while Codition begin Code; end; Dispense with the begin & end to execute a single line of code. repeat loops execute at least once. Use break, continue [...]

Follow

Get every new post delivered to your Inbox.