Silverfrost Forums

Welcome to our forums

How to fill with information an opned file

26 Jun 2008 3:55 #3419

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

26 Jun 2008 4:19 #3422

open(10, file='results.dat') write(10, *) dataValue close(10)

27 Jun 2008 8:48 #3424

Thanks very much, already working!!! BR

Please login to reply.