[Q] FORMAT

From: Jaegu Lee (gulee_at_postech.ac.kr)
Date: 06/21/04


Date: Mon, 21 Jun 2004 22:37:06 +0900

Hello.

There was no probelm using " write( 10, * ) ( output(i), i=1,n,1 ) with
lahey fortran.

The output file must be written in one line regardless of 'n' to read with
'Tecplot'

'n' increases with iteration, and i don know how many iterations are
repeated. It depens on the cases

But if I use intel fortran the output file is not written in one line so I
have to use format statement.

Shoud i write like this? write( 10, '(10000E13.4)' ) ( output(i), i=1,n,1 )

I know the statement ' 100 format ( nE13.4 ) ' is not working.

Is there any other way?



Relevant Pages

  • Re: dlmwrite
    ... iteration of the for loop(an entire new vector is ... vector as a new column into row 0 of the output file. ... where M is a column vector that is recalculated every ... Other way is make a temporary file (single vector form) ...
    (comp.soft-sys.matlab)
  • aes-128-CBC
    ... encrypt using openssl. ... The output file 2.dat is 128 bytes in length. ... derive the 16Byte key from the 8Byte salt, and some iteration count. ...
    (sci.crypt)
  • aes-128-CBC
    ... encrypt using openssl. ... The output file 2.dat is 128 bytes in length. ... derive the 16Byte key from the 8Byte salt, and some iteration count. ...
    (comp.security.ssh)
  • Re: Need to concatenate all files in a dir together into one file and read the first 225 characters
    ... [code that still re-opens output file on each iteration] ... What Tad said. ... Oh and you didn't close the output file. ... Also tsciortino@hotmail.com (Tony) writes: ...
    (comp.lang.perl.misc)