Chapter Contents |
Previous |
Next |
Frame Class: _getSelf |
Syntax | |
Details |
Syntax |
objectName._getSelf( selfID ); |
Argument | Type | Use | Description |
---|---|---|---|
selfID | Numeric | Update | returns the identifier of the current object or returns zero |
Details |
When a method on an object X is a FRAME entry rather than an SCL entry, the _getSelf method returns that object's identifier when the frame is executing. Normally, the object's identifier is available in the special variable _SELF_; this is true for the SCL attached to the FRAME entry, for example. However, if you have subclassed the Frame class and overridden one or more of the Frame class methods, when those methods execute, _SELF_ becomes the identifier of the frame, not the previous object. Use _getSelf to get the object identifier for object X.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.