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!

print sign with format command

Status
Not open for further replies.

souvikp

Programmer
Sep 2, 2002
1
IN
How can I turn off sign printing in the format command? (the specifier 'sp' does turn it on)...

eg.

100 format(1x,sp, f6.3,2x, i2,2x, f6.3)

prints signs (both +/-) for all the 3 subsequent fields. But I want to print the sign only for the 1st field and turn it off for the next 2 fields. Any suggestions how?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top