[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

## 9.52 Continue

### Synopsis

    Continue  { simple statement }

### Description

``Continue'` goes on with loop iteration by jumping to the end of the current loop body. Note: ``Continue'` can only stand within a while, repeat or a for statement.

### Conforming to

``Continue'` is a Borland Pascal extension.

### Example

    program ContinueDemo;
    var
      Foo, Bar: Integer;
    begin
      WriteLn ('Enter three numbers:');
      for Bar := 1 to 3 do
        begin
          ReadLn (Foo);
          if Foo < 5 then
            Continue;
          WriteLn ('Your number was greater then 5.')
        end
    end.

### See also

section 8.1.7.13 Loop Control Statements, section 9.30 Break, section 9.77 Exit, section 9.108 Halt, section 9.231 Return, section 9.106 goto.

This document was generated by Frank Heckenbach on May, 10 2002 using texi2html