View previous topic :: View next topic |
Author |
Message |
kingkastle
Joined: 22 May 2008 Posts: 20
|
Posted: Thu Jun 26, 2008 4:55 pm Post subject: How to fill with information an opned file |
|
|
Hi,
I�m a begginer user, without any book and some tutorials that doesn�t get in depth, i know this doubt it�s not a big deal but i cant find the solution and it�s driving me crazy, let�s see:
I create a simple program to calculate some statistics, I print the statistics but I can�t create a file filled with that statistics. I can create the file using OPEN command, but i still dont know how to fill it with the required information, please if someone could attach me any example to follow it would be perfect for me.
Thanks so much in advance
BR |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8089 Location: Salford, UK
|
Posted: Thu Jun 26, 2008 5:19 pm Post subject: |
|
|
open(10, file="results.dat")
write(10, *) dataValue
close(10) |
|
Back to top |
|
|
kingkastle
Joined: 22 May 2008 Posts: 20
|
Posted: Fri Jun 27, 2008 9:48 am Post subject: |
|
|
Thanks very much, already working!!!
BR |
|
Back to top |
|
|
|