Chapter Contents

Previous

Next
Extended Table: _getRowLabel

Extended Table: _getRowLabel



Runs the GETROW section of the SCL program


Details
Example


Details

The _getRowLabel method, which is normally used when subclassing extended tables, is not called by SCL code; it is called by the extended table object to establish and set the values of objects in an extended table. By default, the _getRowLabel method runs the GETROW section of the SCL program.


Example

This method can be overridden if you need to perform some pre- or post-processing with respect to the GETROW section. For example, if you want to process some information both before and after the GETROW section of the SCL program runs, you can override the _getRowLabel method of the Extended Table class and write your method like this:

length _method_ $ 40;

GETROW: method;
   /* perform preprocessing */
/* some SCL statements here; */

   /* run the GETROW section of the SCL
      program */
call super( _self_, _method_ );

   /* perform post-processing */
/* more SCL statements here; */

endmethod;


Chapter Contents

Previous

Next

Top of Page

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