Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Understanding IMLPlus Classes > 6.2 Object-Oriented Terminology

6.2 Object-Oriented Terminology

The IMLPlus programming language borrows ideas from object-oriented programming, particularly Java. An object is a variable that refers to a class. The class is a "template" for the object: it specifies the data and the functions (called methods) that query, retrieve, and manipulate the data. In IMLPlus, a variable is implicitly assumed to be a SAS/IML matrix unless you use the declare keyword to specify that the variable is an object.

To call class methods in IMLPlus, you use a "dot notation" syntax in which the method name is appended to the name of the object, such as ObjectName.MethodName(). Class names, object names, and method names are case-sensitive, which is the Java convention. The declare keyword is also case-sensitive.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint