1
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2
%.COPYRIGHT (c) 1990 European Southern Observatory
5
%.KEYWORDS MIDAS, help files, COPY/DK
6
%.PURPOSE On-line help file for the command: COPY/DK
7
%.VERSION 1.0 14-MAR-1987 : Creation, KB
8
%----------------------------------------------------------------
12
COPY/DKEY 12-FEB-1998 KB
14
COPY/DKEY source_frame source_desc dest_key
15
copy descriptor of source frame to keyword
18
copy descriptor of source frame (image or table) to keyword
21
COPY/DKEY source_frame source_desc dest_key
23
source_frame = name of source frame (image or table)
25
source_desc = source descriptor
27
dest_key = name of destination keyword
30
If the destination keyword does not exist already, it is created
31
with same type and (full) size as the source descriptor.
33
Default type of frames is an image, i.e. source_frame = lola
34
will be interpreted as `lola.bdf', for tables you need always the
35
file type as well in the name.
37
If only a few data values are copied, e.g. < 5 values, then it is
38
more efficient to use the M$VALUE function to set the keyword to
39
the values of the descriptor.
42
COPY/KD, COPY/DD, COPY/KEYWORD
46
COPY/DKEY tiburon ident/c/10/10 INPUTC
47
Will copy the string in descriptor IDENT of frame `tiburon.bdf'
48
(starting at the 10th element) to keyword INPUTC
49
(starting in the beginning by default).
51
COPY/DKEY tiburon.tbl ident/c/10/10 INPUTC
52
As above but table file `tiburon.tbl' is used.