HARDCR()

From Recital Documentation Wiki
Revision as of 13:40, 23 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Class

Expressions and Type Conversion


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 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.


Example

cFormat = hardcr(notepad)


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer