Chapter Contents

Previous

Next
SAS/AF Software: Class Dictionary

Using Extended Tables


Flow of Control in Extended Tables

When an SCL program for an extended table runs, this process takes place:

  1. The INIT section runs.

  2. The GETROW section runs. Each row in the table is displayed.

  3. The program waits for user input.

  4. If a user modifies a row in the table, the PUTROW section runs for that row, the MAIN section runs, and the GETROW section runs again to display the table with the modified value. Then the program waits for more user input.

In the process, the GETROW section runs for all visible rows each time the PUTROW section runs, no matter how many rows the PUTROW section processes.

In addition, the GETROW section runs when an extended table receives a _refresh method. An extended table receives a _refresh method in these cases:


Automatic Instance Variables

Two special instance variables, _currow and _curcol, are added to the extended table object and all objects within the extended table. These two instance variables are marked as "automatic" so that when the extended table's _getrowLabel or _putrowLabel method, or an object's _objectLabel or _select method run, these variables are automatically initialized to the correct values.


Chapter Contents

Previous

Next

Top of Page

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