EXIT Statement

Introduction

The Structured Text EXIT statement stops a loop before it has completed:

Example

For Index:= 0 To 10 Do
    If Item[ Index ] != 0 Then
        Exit;
    End_If;
End_For;

Further Information

Structured Text

For other Structured Text (ST) statement types.

Glossary

For the meaning of terms used in Fernhill SCADA.