In Fortran, we can easily get the stardard and easy output format. Now, we only focus on the Integer output. See here How to realize this kind of output as formatted text file using Mathematica ? (Then it can be read in Fortran easily).Take a simple example, I have a list,
list=Table[(i + j) i (i - j), {i, 1, 2}, {j, 1, 22}];
I want to get the output data in a text file and
Every integer should be printed with 6 positions. (It is I6 in Fortran).
The maximum line length in the text file should be limited to 120.
-399\n -440
, or were you just saying that's how the file would look in an editor whose maximum line length is set to 120. $\endgroup$