Problem with writing a line feed with text_io.put / utl_file.put in Oracle Forms

From: Stefan Neumann <stefan.neumann_at_mgi.de>
Date: Wed, 6 Jun 2001 14:45:30 +0200
Message-ID: <3b1e266a_at_194.120.211.23>


i have some binary data which i want to write in a file with text_io.put(file_handle, chr(xxx)).
everything is fine unless xxx is 10 (0Ah). then the put-function inserts instead of 0Ah the code 0Dh 0Ah (inserting automatically a carriage return). Is
there a possibility to avoid this automatic conversion or does another write-function exist?
sample code:
declare
File_Handle text_io.File_Type;
BEGIN

File_Handle := text_io.FOpen ('C:\Temp\AAAA.txt', 'w');
text_io.Put (File_Handle, chr(10));
text_io.fclose (File_Handle);

END; Viewing the file aaaa.txt with a hex-editor, i got 0D 0H

THANKS FOR HELPING
Stefan Neumann Received on Wed Jun 06 2001 - 14:45:30 CEST

Original text of this message