1
! +++++++++++++++++++++++++++++++++++++++++++++++++++++++
5
! MIDAS Command : t2copytbl.prg
7
! J.D.Ponz ESO - Garching 5 APR 89
8
! 901108 KB: WRITE/KEYW HISTORY stuff...
9
! 930204 MP: call C routines
14
! COPY/TI table image [column_label]
15
! COPY/IT image table [column_label]
19
! ----------------------------------------------------------------------
21
if mid$cmnd(11:11) .eq. "T" then
22
define/param p1 ? TAB "Input table:"
23
define/param p2 ? IMA "Output image:"
24
define/param p3 + CHAR
25
write/keyw mid$cmnd/c/1/4 "coti"
28
define/param p1 ? IMA "Input image:"
29
define/param p2 ? TAB "Output table:"
30
define/param p3 + CHAR
31
write/keyw mid$cmnd/c/1/4 "coit"
36
write/keyw inputc {p3}
37
write/keyw history "{mid$cmnd(1:4)}/{mid$cmnd(11:14)} "
39
write/keyw action/c/1/1 {mid$cmnd(11:11)}