Node:otherwise, Next:, Previous:or_else, Up:Reference



otherwise

Synopsis

Default case branch as part of the case ... otherwise statement:

case expression of
  selector: statement;
  ...
  selector: statement
otherwise  { ``else'' instead of ``otherwise'' is allowed }
  statement;
  ...
  statement
end

Description

otherwise starts a series of statements which is executed if no selector matches expression. In this situation, else is a synonym for otherwise.

Conforming to

otherwise is an ISO 10206 Extended Pascal extension.

Example

See case.

See also

Keywords, case Statement, case, else.