Chapter Contents

Previous

Next
SAS Component Language: Reference

Executing Methods

In object-oriented applications, methods are implemented in CLASS blocks or USECLASS blocks. These methods are usually invoked with dot notation. See Accessing Object Attributes and Methods With Dot Notation for information about dot notation.

You can also send methods to an object by using CALL SEND, and you can send a method to a control in a FRAME entry by using CALL NOTIFY. See SEND and NOTIFY for more information.

Methods may also be stored in SCL, PROGRAM, or SCREEN entries. If the method is stored in an SCL entry, then call the method with the CALL METHOD routine. If the method is stored in a PROGRAM or SCREEN entry, you can use the LINK or GOTO statements to call it. See Calling a Method That Is Stored in an SCL Entry, Branching to a Labeled Section (LINK), and Branching to Another Entry (GOTO) for more information.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.