1
% @(#)copy_kk.hlq 19.1 (ESO-IPG) 02/25/03 14:03:08
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3
%.COPYRIGHT (c) 1990 European Southern Observatory
6
%.KEYWORDS MIDAS, help files, COPY/KK
7
%.PURPOSE On-line help file for the command: COPY/KK
8
%.VERSION 1.0 14-MAR-1987 : Creation, KB
9
%----------------------------------------------------------------
13
COPY/KK 14-MAR-1987 KB
15
COPY/KK source_key dest_key
16
copy keyword to other keyword
19
Copy keyword to other keyword (not necessarily of same type).
22
COPY/KD source_key dest_key
24
source_key = specifications of source kewyord;
25
specifications of a keyword are: name/type/f_elem/no_elem
26
if only name is given, f_elem = 1 and no_elem = all elements
28
dest_key = specifications of destination keyword
29
specifications of a keyword are: name/type/f_elem/no_elem
30
if only name is given, the keyword must exist and
31
f_elem = 1 and no_elem = all elements
34
COPY/LSKK, COPY/DK, COPY/KD
37
The destination keyword must exist unless full specification is
38
given. Conversion between different numeric types is done.
39
However, you cannot copy a numeric keyword to a character type one.
43
COPY/KK inputc/c/1/10 out/c/10/10
44
Copy the first 10 characters of keyword INPUTC to keyword
45
OUT, if keyword OUT does not exist yet it is created (the first
46
9 elements will be set to ' ').
48
COPY/KK inputi/i/2/2 outputi
49
Copy elements 2 and 3 of keyword INPUTI to first two elements