Arguments
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) |
Defaults
Assignment file: | Any application assignment file |
Section: | [SETTINGS] |
Default value: | Operating system default |
Description
$NEW_LINE allows you to specify the exact character that is stored as the end-of-line character in the database.
The default end-of-line value on Windows is CRLF, that is, a carriage return followed by a line feed (decimal value 13, followed by decimal 10). The default end-of-line value on Unix and Linux is LF (decimal 10).
If you access the database with tools that expect end-of-line characters, you can use set it to one of the specified options.This also allows Uniface to read the data properly.
When writing to files on the file system, $FILE_NEW_LINE is used. When writing to a zip archive, $ZIP_NEW_LINE is used.
$NEW_LINE
$NEW_LINE = CR