Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what command cause space between rows in output? 1

Status
Not open for further replies.

baharengineer

Programmer
Jul 9, 2010
42
IR
some part of my output is like this (attached picture)

output devide 3 part with 6 row for every them.

but my out put must be parts with 8 row in every part

what variable or command is used for this spaces?

that i can change and correct this?



 
I don't see an attached picture...

--------------------------------------
Background: Chemical engineer, familiar mostly with MATLAB, but now branching out into real programming.
 
It really depends on how the code was written, and I don't know how much of this applies to Fortran IV, but maybe some of the following:

print *,
write (*,'(/)')

or generally, somewhere where you have a forward slash /

I'd suggest finding the part of the code that prints the result. I suspect that it has a counter variable, which when it equals 6, an empty line is printed, and then the counter is reset. Alternatively, the output is hard-coded in groups of 6, so there is a DO loop, within which are 6 "write" or "print" statements (more likely "write" than "print"), followed by one empty line.

I don't know if any of this will help you, but that's what I think might be the problem.

--------------------------------------
Background: Chemical engineer, familiar mostly with MATLAB, but now branching out into real programming.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top