Chapter Contents

Previous

Next
Frame Class: _initLabel

Frame Class: _initLabel



Runs the INIT section of the frame's SCL entry


Syntax
Details

Syntax

objectName._initLabel( );


Details

The _initLabel method, which is normally used when the Frame class is subclassed, is not called by SCL code; it is invoked automatically by the frame when the frame is initialized. By default, the _initLabel method runs the INIT section of the frame's SCL program.

This method can be overridden to perform some pre- or postprocessing with respect to the INIT section. For example, to process information both before and after the INIT section of the frame's SCL program runs, you can override the _initLabel method of the Frame class, and write your method similar to this:

length _method_ $ 40;
initlab: method;
  /*---- perform preprocessing -----------------------*/
  /* some SCL statements here */
  /*---- run the INIT section of the FRAME -----------*/
call super (_self_,_method_);
  /*---- perform postprocessing ----------------------*/
  /* more SCL statements here */
endmethod;


Chapter Contents

Previous

Next

Top of Page

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