I have been searching and searching for a way to make a certain WRITE statement more portable...and I can't for the life of me figure it out!?!?!? Here's the problem code
WRITE(*,'("+",A,$)') 'HELLO'
How the Heck to I replace the "$" in the above??? I originally thought that "ADVANCE='NO'" would do it...but, that does not function exactly as "$" does. The "$" seems to reset the beginning of the line to the current column...the ADVANCE doesn't reset the beginning of the line, it just doesn't do a Carriage Return.
Any ideas will be most helpful!!!
WRITE(*,'("+",A,$)') 'HELLO'
How the Heck to I replace the "$" in the above??? I originally thought that "ADVANCE='NO'" would do it...but, that does not function exactly as "$" does. The "$" seems to reset the beginning of the line to the current column...the ADVANCE doesn't reset the beginning of the line, it just doesn't do a Carriage Return.
Any ideas will be most helpful!!!