Syntax
bless REF, CLASSNAME bless REF |
Definition and Usage
Tells the entity referenced by REF that it is now an object in the CLASSNAME package, or the current package if CLASSNAME is omitted. Use of the two-argument form of bless is recommended.
Return Value
- The reference to an object blessed into CLASSNAME
Example
The object reference is created by blessing a reference to the package's class. For example:
package Person; |
No comments:
Post a Comment