Chapter 4: User-Defined Methods and Packages
In this chapter, we will write user-defined methods to create custom, reusable blocks of DS2 code. First, we’ll explore user-defined methods written inline in a DS2 DATA program, and then we’ll learn how to store, share, and reuse user-defined methods in DS2 packages. Specifically, we will cover these points:
• defining user-defined methods
• defining inline methods
• setting parameters
• returning a ...