02.07.2014 Views

Intel(R) Fortran Compiler for Linux* Systems User's Guide Volume I ...

Intel(R) Fortran Compiler for Linux* Systems User's Guide Volume I ...

Intel(R) Fortran Compiler for Linux* Systems User's Guide Volume I ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Intel</strong>® <strong>Fortran</strong> <strong>Compiler</strong> <strong>for</strong> <strong>Linux*</strong> <strong>Systems</strong> <strong>User's</strong> <strong>Guide</strong>, <strong>Volume</strong> I: Building<br />

Applications<br />

Stream_CR and Stream_LF Records<br />

A Stream_CR or Stream_LF record is a variable-length record whose length is<br />

indicated by explicit record terminators embedded in the data, not by a count.<br />

These terminators are automatically added when you write records to a streamtype<br />

file and are removed when you read records.<br />

Each variety uses a different 1-byte record terminator:<br />

• Stream_CR files use only a carriage-return as the terminator, so<br />

Stream_CR files must not contain embedded carriage-return characters.<br />

• Stream_LF files use only a line-feed (new line) as the terminator, so<br />

Stream_LF files must not contain embedded line-feed (new line)<br />

characters. This is the usual operating system text file record type.<br />

The figure below shows the layout of Stream_CR and Stream_LF records:<br />

Microsoft* <strong>Fortran</strong> PowerStation<br />

Compatible Files<br />

When using the -fpscomp options <strong>for</strong> Microsoft* <strong>Fortran</strong><br />

PowerStation compatibility, the following types of files are<br />

possible:<br />

• Formatted Sequential<br />

• Formatted Direct<br />

• Un<strong>for</strong>matted Sequential<br />

• Un<strong>for</strong>matted Direct<br />

Formatted Sequential Files<br />

A <strong>for</strong>matted sequential file is a series of <strong>for</strong>matted records written sequentially<br />

and read in the order in which they appear in the file. Records can vary in length<br />

173

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!