[daip] writing a large number of aips files to fits files on disk
Patrick P. Murphy
pmurphy at NRAO.EDU
Fri Feb 23 11:30:05 EST 2001
On Fri, 23 Feb 2001 08:56:36 -0700 (MST), "[Leonia Kogan]"
<lkogan at aoc.nrao.edu> said:
> for i=n1 to n2; getn i; outfile='out i'; go fittp; wait fittp; end
I think this needs to be:
for i=1 to 500; getn i; outfile='foo' !! char(i); go fittp; wait fittp; end
The "char" function converts the integer to a string, and the "!!" appends
the two strings. Replace 'foo' with whatever is appropriate (as Leonia
pointed out, you could make it a variation of infile).
- Pat
--
Patrick P. Murphy, Ph.D. Division Head, CV Computing, NRAO
Home: http://www.chien-noir.com/ Work: http://www.cv.nrao.edu/~pmurphy/
Spam poison: Argos at backspacedk.com borax at porkerl.gov nead at glaresg.edu
"Linux is Inevitable." "Why?" "Because it's alive!" - John MadDog Hall
More information about the Daip
mailing list