next up previous contents index
Next: Sorting and Searching Up: Table Interfaces Previous: Table Descriptors

   
Select a Table Subset

A query to a table in MIDAS, using the command SELECT/TABLE, will generate a subset of the original table. In the current version, the selected subset is defined by a flag associated with each row in the table that is handled in a consistent way by all the system commands.

In order to maintain this consistency, it is recommended that new application programs accessing the information in a given row, will read this flag, using the routine TBSGET (TCSGET), to test if the corresponding row belongs to the current - active - subtable.

The flag corresponding to a given row is updated with the routine TBSPUT (TCSPUT).

To select all rows in the table use the routine TBSINI (TCSINI).



Send comments to web@eso.org
Last update: 1998-10-23