Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Editor
»
Read and Write Text File
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Capitalize word after eac...
by
y.ivanov
[
Today
at 01:03:19 am]
Form editor 'Lock' featur...
by
y.ivanov
[
Today
at 12:51:07 am]
Parallel programming mode...
by
pascal111
[
Today
at 12:17:26 am]
TApplication vs Applicati...
by
VisualLab
[
Today
at 12:02:14 am]
Summing up the hours
by
wp
[July 03, 2022, 11:54:23 pm]
Jurassic Park's "operatio...
by
MarkMLl
[July 03, 2022, 11:03:17 pm]
StrToFloat - formatted
by
SymbolicFrank
[July 03, 2022, 10:49:09 pm]
SOLVED Help storeing file...
by
DreamVB
[July 03, 2022, 10:47:21 pm]
Heap memory release error...
by
Martin_fr
[July 03, 2022, 10:14:28 pm]
cannot receive messages; ...
by
rvk
[July 03, 2022, 09:54:36 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Read and Write Text File (Read 8104 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:
Logged
Marc
Administrator
Hero Member
Posts: 2550
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.
Logged
//--
{$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.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Editor
»
Read and Write Text File
TinyPortal
© 2005-2018