Difference between revisions of "HARDCR()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Class==
 
Expressions and Type Conversion
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to convert carriage returns
 
Function to convert carriage returns
Line 16: Line 12:
  
 
==Description==
 
==Description==
The HARDCR() function converts all the 'soft' carriage returns (ASCII 141) in the specified <expC> or <memofield>, to 'hard' carriage returns (ASCII 13).  The HARDCR() function returns the <expC> or <memofield> as a character string, after conversion.
+
The HARDCR() function converts all the 'soft' carriage returns (ASCII 10) in the specified <expC> or <memofield>, to 'hard' carriage returns (ASCII 13).  The HARDCR() function returns the <expC> or <memofield> as a character string, after conversion.
  
  
Line 26: Line 22:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:String Data]]
 +
[[Category:String Data Functions]]
 +
[[Category:Memos]]
 +
[[Category:Memos Functions]]

Latest revision as of 14:18, 22 July 2010

Purpose

Function to convert carriage returns


Syntax

HARDCR(<expC> | <memofield>)


See Also

LEN(), MEMOEDIT(), MEMOLINE(), MEMOREAD(), MEMOTRAN(), MEMOWRITE(), MLCOUNT(), MLINE(), TEXTEDIT()


Description

The HARDCR() function converts all the 'soft' carriage returns (ASCII 10) in the specified <expC> or <memofield>, to 'hard' carriage returns (ASCII 13). The HARDCR() function returns the <expC> or <memofield> as a character string, after conversion.


Example

cFormat = hardcr(notepad)


Products

Recital Server, Recital