Missing else if in RPG: Difference between revisions
Jump to navigation
Jump to search
(New) |
(No difference)
|
Latest revision as of 13:35, 9 February 2019
At least in V4R5, IBM has not implemented the well-known else if conditional for multiple branching.
This is easily overcome by SELECT/WHENxx:
C […] C SELECT C FSTAT WHENEQ 12 C […] C FSTAT WHENEQ 1021 C […] C FSTAT WHENEQ 1218 C […] C OTHER C [… default handler …] C ENDSL C […]
Weblinks
- ILE RPG Reference, PDF