SWITCH LIST Declaration

A SWITCH LIST declaration associates an identifier with a list of list designators. Any of these list designators can later be referenced by using the identifier and a number corresponding to the position of the list designator in the list.

<switch list declaration>

                                       ┌◄──────── , ───────┐
── SWITCH ── LIST ──<identifier>── := ─┴─<list designator>─┴───────────┤

<switch list identifier>

An identifier that is associated with a list of list designators in a SWITCH LIST declaration.

<list designator>

──┬─<list identifier>───────────────────────────────┬──────────────────┤
  └─<switch list identifier>── [ ──<subscript>── ] ─┘