Guru: With Procedure Driven RPG, Be Precise With Options(*Exact)
June 3, 2024 Gregory Simmons
Introduced to the RPG language in V7R2 TR1 and V7R3 TR7, the Options(*Exact) enables RPG programmers to adopt a more defensive coding style. Defensive coding is something all developers should be practicing.
DISCLAIMER: The edibility of the mushrooms listed in my test program are purely to give the program a little context and make it interesting. Their edible status is from the publication by the Missouri Department of Conservation called A Guide to Missouri’s Edible and Poisonous Mushrooms. Before foraging for and/or consuming any wild mushroom, do your research and be safe.
**Free Ctl-Opt Main(Test_Exact_Options); Ctl-Opt Debug Option(*SrcStmt:*NoDebugIO);… Read more