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....



EnsureCRLFInFile


Unit:SDL_filesys
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: 2023-Feb-06