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


deceit (deceit-1.18) [xmmsas_20041122_1834-6.1.0]

Table Detailed syntax Array Home Index

Meta Index / Home Page / Description / Detailed syntax

Column

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.


Table Detailed syntax Array Home Index

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