1
! @(#)copyload.prg 19.1 (ESO-DMD) 02/25/03 14:10:52
2
! ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4
! MIDAS procedure copyload.prg to first copy from RBS-Midas workspace to
5
! display-Midas workspace
6
! and then use pipeload.prg
9
! @ copyload frame chanl xscal,yscal[,A] xc,yc cut_lo,cut_hi direcs fixpoint
11
! ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
13
crossref FRAME CHANL SCALE CENTER CUTS DIRS FIX
15
$pwd | write/keyw inputc !get current directory
16
inputi = m$len(inputc)
17
if inputi .gt. 10 then
19
if inputc({inputi}:) .eq. "_disp" then !o.k. in the right directory
21
-copy ../{direc2}/{p1} {p1}
23
@d pipeload {p1} {p2} {p3} {p4} {p5} {p6} {p7}
28
write/out "current dir:" {inputc}
29
write/out "we are NOT in the display-Midas directory..."
30
write/out command LOAD/IMAGE not executed!