forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to fill with information an opned file

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
kingkastle



Joined: 22 May 2008
Posts: 20

PostPosted: Thu Jun 26, 2008 4:55 pm    Post subject: How to fill with information an opned file Reply with quote

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
View user's profile Send private message Send e-mail
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7927
Location: Salford, UK

PostPosted: Thu Jun 26, 2008 5:19 pm    Post subject: Reply with quote

open(10, file="results.dat")
write(10, *) dataValue
close(10)
Back to top
View user's profile Send private message AIM Address
kingkastle



Joined: 22 May 2008
Posts: 20

PostPosted: Fri Jun 27, 2008 9:48 am    Post subject: Reply with quote

Thanks very much, already working!!!
BR
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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