Recent

Author Topic: Read and Write Text File  (Read 8560 times)

Isara

  • Guest
Read and Write Text File
« on: October 21, 2004, 09:43:22 am »
How can I read and write text file by using Lazarus?
I'm a new user.
Thank you.  :cry:

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2583
Read and Write Text File
« Reply #1 on: October 21, 2004, 10:43:35 am »
THis is more a generic pascal question than a Lazarus, but anyhow...

There are (at least) 3 ways, for more details, look in the fpc manuals
1) assign, reset/append
2) TFileStream
3) TStringList.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Anonymous

  • Guest
Read and Write Text File
« Reply #2 on: October 25, 2004, 06:08:12 am »
Thank you.

 

TinyPortal © 2005-2018