MEMOTRAN()

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

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

Class

Memos


Purpose

Function to translate carriage returns


Syntax

MEMOTRAN(<memofield> | <expC1> [,<expC2> [,<expC3>]])


See Also

HARDCR(), MEMLINES(), MEMOEDIT(), MEMOLINE(), MEMOREAD(), MEMOWRITE(), MLCOUNT(), MLINE(), SET MEMOWIDTH, SET MEMOWINDOW, TEXTEDIT()

Description

The MEMOTRAN() function translates all hard carriage returns (ASCII 13), within the <memofield> or <expC1>, into the character defined by <expC2>. If <expC2> is not specified, then it defaults to a semicolon. .MEMOTRAN() also translates all line feed/soft carriage returns (ASCII 10), within the <memofield> or <expC1>, into the character defined by <expC3>. If <expC3> is not specified, then it defaults to a space.


Example

use accounts
m_var = memotran(product_des)


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer