% @(#)copy_keyw.hlq 17.1.1.1 (ESO-IPG) 01/25/02 17:43:25 %++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %.COPYRIGHT (c) 1990 European Southern Observatory %.IDENT copy_keyw.hlq %.AUTHOR KB, IPG/ESO %.KEYWORDS MIDAS, help files, COPY/KEY %.PURPOSE On-line help file for the command: COPY/KEY %.VERSION 1.0 04-JAN-1991 KB %---------------------------------------------------------------- \se SECTION./KEYW \es\co COPY/KEYWORD 04-JAN-1991 KB \oc\su COPY/KEYWORD source_key dest_key [M_unit] copy keywords of same type \us\pu Purpose: Copy keywords of same type. \up\sy Syntax: COPY/KEYWORD source_key dest_key [M_unit] \ys\pa source_key = keyspecs of source key \ap\pa dest_key = keyspecs of destination key, must be of same type as source_key, e.g. both real keywords !! \ap\pa M_unit = optional unit of another Midas session, then the contents of the source_key of that session are copied to the dest_key of the current session; \\ the other session must have the same Midas startup directory, i.e. same MID_WORK \ap\sa See also: READ/KEY, WRITE/KEY, SHOW/KEY \as\no Note: See the help for [BackgroundMidas] to get more information about running several Midas sessions in parallel. \on\exs Examples: \ex COPY/KEY INPUTI/I/10/4 OUTPUTI/I/3/4 Copy elements 10,11,12,13 of keyword INPUTI to elements 3,4,5,6 of keyword OUTPUTI. \xe\ex COPY/KEY INPUTR OUTPUTR xs Copy all elements of keyword INPUTR in the Midas session with Midas unit XS to all elements of keyword OUTPUTR in current session. \xe \sxe