Everyone using free-format RPG knows the basics of using prototypes to replace their old parm lists for program calls. However, many overlook just how much prototypes could do for them. In this session, Susan reviews prototype basics but will concentrate mostly on exploiting their often-overlooked features. Did you know that prototypes:Protect against parameter mis-matchesProvide automatic conversion of parameter types and sizesEnable passing literals, built-in functions or function calls as parametersAllow you to specify optional parametersEnable you to call C functions and system APIs that return valuesShe'll include a look at more recent enhancements that can simplify prototypes. If you haven't used *Convert, *Exact and %Passed, come here to see examples of the impact they could have on your code. You'll pick up some best practices for exploiting these features, including examples of the right way for called programs (or procedures) to safely handle optional parameters.
Date & Time
Wednesday November 6th, 2024 11:00am EST
End Date & Time
Wednesday November 6th, 2024 12:00pm EST
Venue
Pier 7 & 8
Speakers
Susan Gantner
Session Format
Standard 60 Minute Session
Learning Objectives
- Learn to exploit the power of prototypes to help bullet-proof your code 
- Simplify your code while increasing its reusability
Audience
Experienced ILE RPG developers
Session Level
Intermediate
Evaluation Link
https://docs.google.com/forms/d/e/1FAIpQLSc__tbXT6saxf1oA2YG8e_ZklfQOkW3guKvU-chTiH48vFqvg/viewform?usp=pp_url&entry.1175797252=What RPG Prototypes Can Do for You&entry.116229039=Susan Gantner&entry.667308199=Latest Practices in RPG
Conference NAViGATE Toronto
Session Comments