|
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
Fonya
Joined: 08 Jun 2009 Posts: 3
|
Posted: Tue Nov 17, 2009 4:56 pm Post subject: I/O problem |
|
|
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 |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2817 Location: South Pole, Antarctica
|
Posted: Tue Nov 17, 2009 10:30 pm Post subject: |
|
|
open(33,file='fonya.res',STATUS='unknown')
write(33,*) cdate
close(33) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|