xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

HB_OsNewLine()

Returns the end-of-line character(s) to use with the current operating system.

Syntax

HB_OsNewLine() --> cEndOfLine

Return

The function returns a character string containing the end-of-line character(s).

Description

HB_OsNewLine() returns a character string containing the character(s) required to move the screen cursor or print head to the start of a new line. The string will hold either Chr(10) or Chr(13)+Chr(10).

Info

See also:Chr(), Os(), OutStd(), OutErr(), SET EOL
Category: Environment functions , xHarbour extensions
Source:rtl\console.c
LIB:xhb.lib
DLL:xhbdll.dll


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