In the Regina PDF doc, 2.4.21, The SELECT/WHEN/OTHERWISE instruction, at the end of the chapter, the word SWITCH is used several times where (apparently) SELECT was meant to be used. Some of the verbage is:
Example: Writing SWITCH as IF
SELECT in Rexx is just a shorthand notation for nested IF instructions. Thus a SWITCH instruction can always be written as set of nested IF statements; but for very large SWITCH statements, the ...
The following code shows how the SWITCH statement shown above can be written as a nested IF structure:
__________________________________________ Gerard Schildberger