Silverfrost Forums

Welcome to our forums

I/O problem

17 Nov 2009 3:56 #5376

I'm having trouble with this seemingly trivial write statement.

write (CDATE,'(I4,I2.2,I2.2)') YEAR, MON, DAY

The program prints CDATE, YEAR, MON, DAY on the screen but would not output it to a file. Can someone help me with this please? Fonya

17 Nov 2009 9:30 #5378

open(33,file='fonya.res',STATUS='unknown') write(33,*) cdate close(33)

Please login to reply.