This is the precision of real numbers.
You should align the numbers in each row neatly in columns. Usually the text will be adjusted to the right, but the exact rules vary among the different format codes.
Otherwise, the format stored there becomes incomplete and causes format error. If a name is returned, it is suitable for use in the OPEN statement.
Fortran write to string
Example Consider the following program fragment. Each edit descriptor tells the system how to handle certain type of values or activity. The value is undefined otherwise. However, we can print a real number using 50 positions in which 25 positions are for the fraction part. An integer which defines the record length. No other values are allowed. Indeed, it is forbidden to specify a file name for a scratch file. To overcome this problem, we should use formats. The name of a logical variable or array element within the same program unit. This is only a way of describing the appearance and does not change the precision of real numbers. Closing a File When a file is no longer required by the program, it should be closed. If no file is connected, the variable is undefined. STATUS This is used to specify whether the file must already exist, or must not exist, or whether it is a temporary scratch file. NAME The variable returns the file name if the file has a name; otherwise it is undefined. We do not have to write the records sequentially.
The blanks are ignored. Unformatted files are generally more compact and can be read and written much more quickly, because there is no need for the computer to convert between human-readable text and its native binary format.
The default is 'KEEP', except for scratch files, which are always deleted after being closed.
based on 5 review