Forms 6.0 Text_IO question

From: Ilia Sazonov <ilia_sazonov_at_arktur.ru>
Date: Fri, 17 Mar 2000 12:56:46 +0300
Message-ID: <38d200c7_at_news.ptt.ru>



Hello,

[Quoted] 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?

[Quoted] Please, tell me what am I doing wrong? Received on Fri Mar 17 2000 - 10:56:46 CET

Original text of this message