Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/6.1.0/doc/deceit/node11.html
Дата изменения: Mon Nov 22 23:25:15 2004
Дата индексирования: Sat Dec 22 08:20:24 2007
Кодировка:
Table XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


deceit (deceit-1.18) [xmmsas_20041122_1834-6.1.0]

dataset Detailed syntax Column Home Index

Meta Index / Home Page / Description / Detailed syntax

Table

Table specifications may only appear in the body of a dataset specification. There is not limit to the number of table specifications which may appear in a dataset specification, but within a dataset table names should be unique.

The general form of a table specification is as follows:

            table table-name rows label optional-expression 
                < 
                    ... table item specifications ... 
                >

where,

The header part of the table specification (i.e., table table-name optional-expression) must be placed onto a single line. This is due to a limitation of the parser. The subsequent table body, which is delimited by $<$ and $>$, is optional but, if present, must begin on a new line.

The table specification body comprises zero or more of the following specification:

There is no limit to the number of items which may appear in a table specification.

The final optional expression can be used to direct deceit to execute a function. This function is executed when the interpreter reaches the end of the of the table specification block. The variable tab is a pointer to the table being created. For example,

           dataset "set" 
            < 
            table "table" 100 "" fillTable(tab, "somefile") 
                < 
                ....
                > 
            >

where fillTable is a user-defined (see 3.3) function that takes a pointer to a table, and fills it with data from somefile. The function is executed when the deceit interpreter reaches the end of the table specification block


dataset Detailed syntax Column Home Index

XMM-Newton SOC/SSC -- 2004-11-22