Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Editor
»
Read and Write Text File
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
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
TFileStream.ReadAnsiStrin...
by
jamie
[
Today
at 02:10:19 am]
Lazarus IDE Windows "stuc...
by
Tony Stone
[
Today
at 01:47:54 am]
Lazarus Install PI5 Bookw...
by
TRon
[
Today
at 01:21:23 am]
BGRA Controls Install Lat...
by
andrew Bubble
[
Today
at 12:52:53 am]
[SOLVED] Does using TTime...
by
EganSolo
[November 28, 2023, 11:38:26 pm]
TPath enhancements (Issue...
by
Bart
[November 28, 2023, 10:53:15 pm]
Why cannot this be inline...
by
ASerge
[November 28, 2023, 09:37:57 pm]
Anyone interested in test...
by
PascalDragon
[November 28, 2023, 09:23:21 pm]
jwabcrypt unit is missing
by
PascalDragon
[November 28, 2023, 09:21:00 pm]
[SOLVED]Diferences in Gen...
by
janasoft
[November 28, 2023, 09:05:14 pm]
Lazarus corrupted my enti...
by
Martin_fr
[November 28, 2023, 08:33:45 pm]
Projects written in old F...
by
wp
[November 28, 2023, 08:07:11 pm]
What is the meaning of TF...
by
Josh
[November 28, 2023, 07:18:15 pm]
Adding an icon to the exe...
by
bobby100
[November 28, 2023, 07:05:22 pm]
How to activate/show/focu...
by
Raumgleiter
[November 28, 2023, 06:07:24 pm]
Does anybody have example...
by
pascalbythree
[November 28, 2023, 06:01:21 pm]
Huge problem with open fi...
by
MarkMLl
[November 28, 2023, 05:11:48 pm]
Get Started / How'to with...
by
circular
[November 28, 2023, 05:08:32 pm]
GUI for ChatGPT (yarvis)
by
schuler
[November 28, 2023, 04:40:13 pm]
Conscious Artificial Inte...
by
schuler
[November 28, 2023, 04:37:48 pm]
[SOLVED] Simple (I hope) ...
by
SteveSS
[November 28, 2023, 04:37:34 pm]
How to "create" a TFont a...
by
Hartmut
[November 28, 2023, 04:36:13 pm]
[SOLVED] TPanel slider po...
by
Pe3s
[November 28, 2023, 04:20:03 pm]
Lazarus Release Candidate...
by
furious programming
[November 28, 2023, 03:21:01 pm]
Faster code execution idi...
by
Martin_fr
[November 28, 2023, 03:17:06 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Read and Write Text File (Read 8268 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: 2580
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