Operating System - OpenVMS
1748244 Members
3900 Online
108760 Solutions
New Discussion юеВ

Re: suppress carriage return

 
Igor Vish
New Member

suppress carriage return

I am writing program in fortran 77 on OpenVMS that writes file. At the end of each record I have carriage return (by default). However, the last record (footer) should not have carriage return. How can I write last record without carriage return (from fortran)? Is there is way to "remove" carriage return?
2 REPLIES 2
Steven Schweda
Honored Contributor

Re: suppress carriage return

HELP FORTRAN Format_Specifiers Carriage_Control

It might help if you showed some of your
current code and an example of the output you
desire. It can be difficult to suggest
changes to an enigma.
Jim_McKinney
Honored Contributor

Re: suppress carriage return

If you are useing Fortran carriage control then the "$" character in the 1st position will likely do as you want.