Article View: comp.lang.pascal.delphi.databases
Article #100Re: I have a data problem, but its hard to describe?!?
From: CubuD
Date: Sun, 03 May 1998 00:00
Date: Sun, 03 May 1998 00:00
32 lines
1695 bytes
1695 bytes
You need to user
Writeln(F,'Hello.txt');
This will redirect the output to the file F
Oskar Sj๏ฟฝberg wrote in message <6ig52i$78f$1@zingo.tninet.se>...
>I'm testing a modified verson of your code, but i cant manange to get it
>work allright the code goes as follows:
>
>Procedure TMain.ButtonClick(Sender: TObject);
>
>Var F:TextFile
>
>Begin
>
>AssignFile(F,'data.txt');
>Rewrite(F);
>WriteLn('hello');
>CloseFile(F);
>
>End;
>
>My expectations where that the code above would write af file (data.txt)
>with the line 'hello' inside. What am i doing wrong?
>
>Thanks in advice!
>
>Oskar F. Sjoberg
>
>
Technical Details
Message-ID:
<354c569b.0@news.power.net.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<353edca3.20476635@nntp.lanminds.com> <3544dda1.0@news.one.net> <6ig52i$78f$1@zingo.tninet.se>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: ffff5,5b5456f40e580607 X-Google-Attributes: gidffff5,public X-Google-Thread: ff75c,5b5456f40e580607 X-Google-Attributes: gidff75c,public X-Google-Thread: fd817,5b5456f40e580607 X-Google-Attributes: gidfd817,public X-Google-Thread: 1100ae,5b5456f40e580607 X-Google-Attributes: gid1100ae,public X-Google-Thread: f973d,5b5456f40e580607 X-Google-Attributes: gidf973d,public X-Google-Thread: 105ac8,5b5456f40e580607 X-Google-Attributes: gid105ac8,public From: "CubuD" <reply@cubud(nospam).powernet.co.uk> Subject: Re: I have a data problem, but its hard to describe?!? Date: 1998/05/03 Message-ID: <354c569b.0@news.power.net.uk> X-Deja-AN: 349803748 References: <353edca3.20476635@nntp.lanminds.com> <3544dda1.0@news.one.net> <6ig52i$78f$1@zingo.tninet.se> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.0 Newsgroups: comp.lang.pascal.delphi.databases,borland.public.delphi.database.desktop,comp.lang.delphi.misc,alt.comp.borland-delphi,alt.comp.lang.borland-delphi,alt.lang.delphi