ELSE Command

ELSE — Execute a logic block if no conditions are met.

Synopsis

ELSE

Introduction

The ELSE command contains the last conditional block and is only executed if no IF or ELSEIF conditions are met.

Arguments

None.

Example

. . .
. . .
IF L-Counter > 10
    CALL OrderCompress L-OrderNumber
ELSE
    CALL OrderProcess L-OrderNumber
ENDIF
. . .
. . .

Related Commands

ELSEIF ENDIF IF