The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Class: none
Declaration: procedure EnsureCRLFInFile (SrcFName, DestFName: string);

The procedure EnsureCRLFInFile copies the text file specified by the parameter SrcFName to the file DestFName, inserting a LF character (ASCII 10) after each CR character (ASCII 13) if necessary. Please note that applying this procedure on binary files will most probably destroy the binary file.

Last Update: 2017-Apr-19