Chapter Contents |
Previous |
Next |
LOADCLASS |
Category: | Object Oriented |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
class-id=LOADCLASS(class-name); |
Type: Numeric
Type: Character
Details |
LOADCLASS loads a class definition from a CLASS catalog entry. The identifier number that LOADCLASS returns can be used to create an instance of the class with the INSTANCE function.
Example |
Load SASUSER.CLASSES.TIMER.CLASS and use the INSTANCE function to create an instance of the TIMER class:
timerclass=loadclass('sasuser.classes.timer'); timer=instance(timerclass);
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.