Re: dynamic filename string
- From: Jan Vorbrüggen <jvorbrueggen@xxxxxxxxxxxxxxx>
- Date: Wed, 28 Nov 2007 09:41:31 +0100
If your compiler doesn't support "i0" format, you could write the
integer separately to a character variable and use adjust, trim, and
concatenation operators.
I would suggest using In.n format, e.g., I3.3. This converts to left-zero-filled text, which has the advantage that you file names will automatically sort the same way as the integers. Otherwise, you have file1 followed by file10 follows by file2.
Jan
.
- References:
- dynamic filename string
- From: apek
- Re: dynamic filename string
- From: gary . l . scott
- dynamic filename string
- Prev by Date: Re: Parallelization on Dell Workstations
- Next by Date: Re: Read DOS or Unix files with the same fortran code
- Previous by thread: Re: dynamic filename string
- Next by thread: Re: dynamic filename string
- Index(es):
Relevant Pages
|