Article View: comp.lang.pascal.borland
Article #680Writing to text Files
From: Ali
Date: Fri, 04 Jun 1999 00:00
Date: Fri, 04 Jun 1999 00:00
13 lines
1113 bytes
1113 bytes
Could some one show me a quick little,simple source code to writing to text
files, i've tries to write to a text file but i get an error: File not open
for output (run time error, i think error no: 105). THis is how i try to
write to text files:
var
f:text;
c:char;
begin
read(c);
assign(f,'fdsat.txt');
reset(f);
Write(f,c);
End.
Technical Details
Message-ID:
<7jaola$r31$1@news5.svr.pol.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111659,863a3507bf12c2da,start X-Google-Attributes: gid111659,public X-Google-Thread: 110467,863a3507bf12c2da,start X-Google-Attributes: gid110467,public From: "Ali" <Bathman@gothom.freeserve.co.uk> Subject: Writing to text Files Date: 1999/06/04 Message-ID: <7jaola$r31$1@news5.svr.pol.co.uk> X-Deja-AN: 485965842 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: abuse@theplanet.net X-Trace: news5.svr.pol.co.uk 928572906 27745 62.136.181.137 (5 Jun 1999 08:55:06 GMT) Organization: Customer of Planet Online X-MSMail-Priority: Normal NNTP-Posting-Date: 5 Jun 1999 08:55:06 GMT Newsgroups: comp.lang.pascal.borland,fido.ger.pascal