$FILE_NEW_LINE

Specify the character stored as the end-of-line in files written by Uniface

$FILE_NEW_LINE {=} Option

Arguments

Options for end-of-line character
Option Meaning
CR Store end-of-line as carriage return (1310)
LF Store end-of-line as line feed (1010)
CRLF Store end-of-line as carriage return (1310) plus line feed (1010)

Description

$FILE_NEW_LINE allows you to specify the exact character that is stored as the end-of-line (EOL) character when writing to file system. Local ProcScript instructions such as filedump and lfiledump use this setting to determine the EOL character to use.

If $FILE_NEW_LINE is not specified, text files created by Uniface should use the native end-of-line format. On Windows this is CRLF, that is, a carriage return followed by a line feed (decimal value 13 followed by decimal 10), to indicate end-of-line.

When writing to a zip archive, the $ZIP_NEW_LINE is used. When writing to databases, $NEW_LINE is used.

Related Topics