Hello,
Having a little problem, but maybe I'm not thinking 'outside the box'
enough.
I want to run a procedure in a procedure, but I want to input a variable
(filename), I don't want to have to rewrite the procedure each time. In
my particular case, I have a procedure which produces a plot (say,
plotproc.pro). Sometimes I'll want a hardcopy of that plot, so I have
another program (@[EMAIL PROTECTED]
) which will call plotproc and give me a PS
hardcopy of the plot. However, inside @[EMAIL PROTECTED]
I have a .run statement,
but that only takes the exact name of the procedure. I can't, for
instance, say:
thisproc = 'plotproc'
..run thisproc
because .run won't translate 'thisproc' into 'plotproc'. I don't want to
be editing @[EMAIL PROTECTED]
all the time, to change the argument of the .run
statement.
Does anyone have any genius ideas?
Thanks.


|