[daip] strings

Leonia Kogan lkogan at aoc.nrao.edu
Tue Nov 19 10:10:57 EST 2002


Hi Kris,

You have to right the following line instead

For j=1 to N, ....., outfile = 'PATH:FILE'!!char(j)...


Good luck

Leonia
-------------------------------------------------------------------
Hi,

I'm trying to write a for loop that includes an outfile.  For example:

For j=1 to N, ....., outfile = 'PATH:FILEj', ...

As the j appears in a string, AIPS keeps writing out to "FILEj" rather than
FILE1, FILE2, etc...

Is there a way to get aips to understand the variable j inside the string?

Thanks for you help!

Kris



More information about the Daip mailing list