%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %.COPYRIGHT (c) 1990 European Southern Observatory %.IDENT copy_dkey.hlq %.AUTHOR KB, IPG/ESO %.KEYWORDS MIDAS, help files, COPY/DK %.PURPOSE On-line help file for the command: COPY/DK %.VERSION 1.0 14-MAR-1987 : Creation, KB %---------------------------------------------------------------- \se SECTION./DKEY \es\co COPY/DKEY 12-FEB-1998 KB \oc\su COPY/DKEY source_frame source_desc dest_key copy descriptor of source frame to keyword \us\pu Purpose: copy descriptor of source frame (image or table) to keyword \up\sy Syntax: COPY/DKEY source_frame source_desc dest_key \ys\pa source_frame = name of source frame (image or table) \ap\pa source_desc = source descriptor \ap\pa dest_key = name of destination keyword \ap\no Note: If the destination keyword does not exist already, it is created with same type and (full) size as the source descriptor. \\ Default type of frames is an image, i.e. source_frame = lola will be interpreted as `lola.bdf', for tables you need always the file type as well in the name. \\ If only a few data values are copied, e.g. < 5 values, then it is more efficient to use the M$VALUE function to set the keyword to the values of the descriptor. \on\sa See also: COPY/KD, COPY/DD, COPY/KEYWORD \as\exs Examples: \ex COPY/DKEY tiburon ident/c/10/10 INPUTC Will copy the string in descriptor IDENT of frame `tiburon.bdf' (starting at the 10th element) to keyword INPUTC (starting in the beginning by default). \xe \ex COPY/DKEY tiburon.tbl ident/c/10/10 INPUTC As above but table file `tiburon.tbl' is used. \xe \sxe