Home | Contact | Pricing | News | Partners | Mailing List | Site Map

Developer Center

[GNAT] Text_Translation Form parameter for Text_IO

Friday August 1, 2008

A new Form parameter may be passed to Text_IO.Create and Text_IO.Open: Text_Translation=Yes is the default, and it means to translate LF to/from CR/LF on Windows systems. Text_Translation=No disables this translation; i.e. it uses binary mode. For output files, Text_Translation=No may be used to create Unix-style files on Windows. Text_Translation is implemented only on Windows systems. It has no effect on any other version of GNAT Pro. Note: The default behavior has not changed; the behavior with Text_Translation=Yes is identical to the behavior before implementation of this feature.

 

Posted by Posted in Development Log, GNAT Compilation System