RSS Forums RSS
Please support our Pascal and Delphi advertiser: Programming Forums
Views: 4786 | Replies: 2 | Thread Tools  Display Modes
Join Date: Apr 2005
Posts: 10
Reputation: peachy is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
peachy peachy is offline Offline
Newbie Poster

Solution Passing txt files into a programand writeln info out

  #1  
May 13th, 2005
Can anyone tell me the format for reading information into a program and if I want to save information out of the prgram into a txt file.

I understand it to be

Assign (file name, path)
reset (filename)
close (file name)


and to write information out

assign (filename, path);
rewrite(filename, with all the information)
close (filename)


Which brings up another question: Is it possible to read the txt file line by line and then save it out to another txt file line by line or must it be done as a entir file?
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the Pascal and Delphi Forum
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:16 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC