% @(#)write_tabl.hlq 17.1.1.1 (ESO-IPG) 01/25/02 17:44:04 %++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %.COPYRIGHT (c) 1990 European Southern Observatory %.IDENT write_tabl.hlq %.AUTHOR JDP, IPG/ESO %.KEYWORDS MIDAS, help files, WRITE/TABLE %.PURPOSE On-line help file for the command: WRITE/TABLE %.VERSION 1.0 17-OCT-1983 : Creation, JDP %.VERSION 1.1 04-Mar-1991 : New Table Version, FO %---------------------------------------------------------------- \se SECTION./TABL \es\co WRITE/TABLE 17-OCT-1983 JDP \oc\su WRITE/TABLE table column row_sel value Store a value into a table \us\pu Purpose: Store a value into one or several rows of a table \up\sy Syntax: WRITE/TABLE table column row_sel value \ys\pa table = the table name \ap\pa column = the column reference \ap\pa row_sel = the row(s) reference \ap\pa value = a constant. The value * will delete the element(s). \on\see See also: COPY/KT \ees\ap\no Note: The rows can be referenced to by using commas for enumeration and a double-dot for ranges, e.g. @1..5,10,15 designs the rows 1 to 10, the row 10 and the row 15. The command will expand the table, i.e increase its number of rows, if the row given in the command line exceeds the limits of that table. The command CREATE/ROW may be used to add rows at any position of the table. The descriptor HISTORY will not be updated by this command. Instead of write/tab the short form: {tablename},:{columnname},{rownumber} = {expression} e.g. mytable,:radvel,20 = 5 can be used to access a single table element. This short form will not expand the table. \on\exs Examples: \ex WRITE/TABLE mytable :RADVEL @20..30 13.5 insert the value 13.5 in the column :RADVEL of table mytable.tbl for the 11 rows 20, 21, .. 30 . \xe \sxe