xHarbour Reference Documentation > Command Reference xHarbour Developers Network  

SET EOL

Defines the end-of-line character(s) for ASCII text files.

Syntax

SET EOL <cEol>

Arguments

<cEol>
A character string holding the end-of-line character(s) for ASCII text files. The default is Chr(13)+Chr(10).

Description

SET EOL is an environment command defining the new-line delimiter(s) for files in ASCII format. This applies to regular text files as well as files in DELIMITED or SDF format. The end-of-line character is operating system dependent. Windows uses Chr(13)+Chr(10) as end-of-line characters.

Note:  the operating system dependent end-of-line characters can also be queried with function HB_OsNewLine().

Info

See also:Chr(), HB_OsNewLine(), Set()
Category: Environment commands , SET commands , xHarbour extensions
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe