Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29276 Discussions

cvf auto-indent? - unformatted files

ducroset
Beginner
452 Views
In the documentation of cvf 6.5, it is said that auto indent on visual studio can be set on (using tools>options>tabs>auto indent)
but the problem is that the boxes to be selected are "grayed" (ie they cannat be selected)!

so how can i enable autoindent?

My other question is about unformatted files on cvf 6.5:
its seems that th format of these kind of files are not real binary files like those yield by a C-writen program!
the format is like :
mydata mydata ...

is there a way to translate it to "normal" binary files?


thanks in advance.

Benoit Ducroset

0 Kudos
1 Reply
Steven_L_Intel1
Employee
452 Views
I think that part of auto-indent is not available for Fortran sources, just C/C++.

The layout of unformatted files is described in the Programmer's Guide - the "some data" is a record length. If you open the file with FORM='BINARY', then you get a "stream of bytes" with no record structure.

Steve
0 Kudos
Reply