It occurs to me that it might be advantageous to make this AIPS-like
task interface (with global parameters) even more AIPSified. For
example, one could establish a parameter task (or taskname) that gets
set with the inp command. One can then just do
> inp
without an argument to use this (like in AIPS) and have other commands
work off this, e.g.
> saveinputs
and
> getinputs
which would do the equivalent of
> execfile task+'.saved'
and even
> go
which would be equivalent to
> a = eval(task)
> a
- Joe writes:
- inp, saveinputs and go all take a taskname parameter which defaults to the current value
--
JosephMcMullin - 14 Nov 2006