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

Printing "Form Feed" using FORPRINT sample

hector_t
Beginner
408 Views
Hi,

I'm printing a text file using the Forprint sample provided with Compaq VF. The problem is that i need to read correctly the character 'C' in hex, wich represents a FormFeed . The routine PrintUnit prints all the pages without FF.

Thanks in advance
0 Kudos
2 Replies
Steven_L_Intel1
Employee
408 Views
The code does not recognize embedded control characters - as written, it does support files with Fortran carriage control (a 1 in column 1, for example.) It would not be difficult to add, at the point where it's testing for Fortran CC, some more code that looks for a FF in column 1 and starting a new page.
0 Kudos
hector_t
Beginner
408 Views
That's true! Thanks!!
0 Kudos
Reply