Re: Forms 6.0 Text_IO question

From: Ilia Sazonov <ilia_sazonov_at_arktur.ru>
Date: Fri, 17 Mar 2000 14:10:29 +0300
Message-ID: <38d21225_at_news.ptt.ru>


[Quoted] I have the following products' versions:

Forms [32 Bit] Version 6.0.5.32.0 (Production) Oracle Toolkit Version 6.0.5.32.0 (Production) PL/SQL Version 8.0.5.1.0 (Production)
Oracle Procedure Builder V6.0.7.0.1 Build #114 - Production PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production) Oracle Query Builder 6.0.5.6.0 - Production Oracle Virtual Graphics System Version 6.0.5.32.0 (Production) Oracle Tools GUI Utilities Version 6.0.5.32.0 (Production)

Oracle Multimedia Version 6.0.5.30.0 (Production)
Oracle Tools Integration Version 6.0.5.32.0 (Production)
Oracle Tools Common Area Version 6.0.5.30.1
Oracle CORE Version 4.0.5.0.0 - Production

Any differences?

Ivar Stolfot <iff_at_online.ee> wrote in message news:38d208bf$0$6903_at_diablo.uninet.ee...
> I tried this code (copy/paste) and it worked
> (only replaced D: with C:).
>
> "Ilia Sazonov" <ilia_sazonov_at_arktur.ru> wrote in message
> news:38d200c7_at_news.ptt.ru...
> > Hello,
> >
> > I've got a problem with Text_IO buit-in package:
> >
> > There is a button in my form that runs the following code on
> > Wehn-button-pressed trigger:
> >
> > DECLARE
> > out_file Text_IO.File_Type;
> > BEGIN
> > out_file := Text_IO.Fopen('D:\test.txt', 'w');
> > Text_IO.Put_Line(out_file, 'This is a test');
> > Text_IO.Put_Line(out_file, 'And this is the end of the test');
> > Text_IO.Fclose(out_file);
> > END;
> >
> > A file is created but in contains only two new line characters (0x0D
0x0A
> > 0x0D 0x0A).
> > Where is my text?
> >
> > Please, tell me what am I doing wrong?
> >
> >
> >
>
>
Received on Fri Mar 17 2000 - 12:10:29 CET

Original text of this message