% @(#)copy_kk.hlq 17.1.1.1 (ESO-IPG) 01/25/02 17:43:25 %++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %.COPYRIGHT (c) 1990 European Southern Observatory %.IDENT copy_kk.hlq %.AUTHOR KB, IPG/ESO %.KEYWORDS MIDAS, help files, COPY/KK %.PURPOSE On-line help file for the command: COPY/KK %.VERSION 1.0 14-MAR-1987 : Creation, KB %---------------------------------------------------------------- \se SECTION./KK \es\co COPY/KK 14-MAR-1987 KB \oc\su COPY/KK source_key dest_key copy keyword to other keyword \us\pu Purpose: Copy keyword to other keyword (not necessarily of same type). \up\sy Syntax: COPY/KD source_key dest_key \ys\pa source_key = specifications of source kewyord; specifications of a keyword are: name/type/f_elem/no_elem if only name is given, f_elem = 1 and no_elem = all elements \ap\pa dest_key = specifications of destination keyword specifications of a keyword are: name/type/f_elem/no_elem if only name is given, the keyword must exist and f_elem = 1 and no_elem = all elements \ap\sa See also: COPY/LSKK, COPY/DK, COPY/KD \as\no Note: The destination keyword must exist unless full specification is given. Conversion between different numeric types is done. However, you cannot copy a numeric keyword to a character type one. \on\exs Examples: \ex COPY/KK inputc/c/1/10 out/c/10/10 Copy the first 10 characters of keyword INPUTC to keyword OUT, if keyword OUT does not exist yet it is created (the first 9 elements will be set to ' '). \xe \ex COPY/KK inputi/i/2/2 outputi Copy elements 2 and 3 of keyword INPUTI to first two elements of keyword OUTPUTI. \xe \sxe