The following example declares SF to be a switch format identifier with a switch format list of four sets of editing specifications. The editing specifications (X78, I2), for example, can be referenced as SF[2].
SWITCH FORMAT SF := (A6, 3I4, I2, X60), % 0
(I4, X2, 2I4, 3I2), % 1
(X78, I2), % 2
(X2) % 3The following example declares SWHFT to be a switch format identifier with a switch format list of three format designators. SWHFT[0] evaluates to format FMT1, SWHFT[1] to FMT2, and SWHFT[2] to FMT3.
SWITCH FORMAT SWHFT := FMT1,FMT2,FMT3

