Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://xmm.vilspa.esa.es/sas/6.5.0/doc/deceit/node12.html
Дата изменения: Tue Aug 16 04:24:25 2005 Дата индексирования: Sat Dec 22 08:41:58 2007 Кодировка: Поисковые слова: universe |
Column specifications may only appear in the body of a table specification. There is no limit to the number of column specifications which may appear in the table body. Within a table column names must be unique.
The general form of a column specification is given by
column column-dimensions column-name data-type label units optional-expression < ... column item specifications ... >
where,
The header part of the column specification (column column-name optional-expression) must be placed onto a single line. This is due to a limitation of the parser. The subsequent body, which is delimited by and , is optional but, if present, must begin on a new line.
The column specification body comprises zero or more of the following specifications:
The final optional expression can be used to direct deceit to execut a function. The function is executed when the interpreter reaches the end of the column specification block. The variable col is a pointer to the column and may be referenced in the expression. For example,
dataset "set" < table "table" 100 < column "col" int32 "integer column" "m" fillColumn(col, "data.dat", 0) > >
where fillColumn is a user-defined function (see 3.3) that takes a pointer to a column, and fills it with data from column 0 of somefile.
XMM-Newton SOC/SSC -- 2005-08-16