Re: Forms 6.0 Text_IO question
Date: Fri, 17 Mar 2000 15:13:10 +0100
Message-ID: <38D23D76.E9CBE1B5_at_t-online.de>
Hello Ilia.
Is that patch 4 for Developer 2000?
Patch 4, the first version has a bug in textio functions.
Try patch 4a .
HTH
Günter
Ilia Sazonov schrieb:
> 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?
> > >
> > >
> > >
> >
> >
-- --------------------------------------------------------------- Dipl.-Inform. Günter Huerkamp Web : http://gh.notrix.de Email privat : mailto:guenter-huerkamp_at_t-online.de privat : mailto:guenter-huerkamp_at_web.de dienstlich : mailto:Guenter.Huerkamp_at_lk-wl.nrw.de ---------------------------------------------------------------Received on Fri Mar 17 2000 - 15:13:10 CET