EXIT Statement

Introduction

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

Example

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

Further Information

Structured Text

For other Structured Text (ST) statement types.

Glossary

For definitions of the terms used in Fernhill SCADA.