Difference between revisions of "MEMOTRAN()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to translate carriage returns
 
Function to translate carriage returns
 
  
 
==Syntax==
 
==Syntax==
 
MEMOTRAN(<memofield> | <expC1> [,<expC2> [,<expC3>]])
 
MEMOTRAN(<memofield> | <expC1> [,<expC2> [,<expC3>]])
 
  
 
==See Also==
 
==See Also==
[[HARDCR()]], [[MEMLINES()]], [[MEMOEDIT()]], [[MEMOLINE()]], [[MEMOREAD()]], [[MEMOSAY()]], [[MEMOWRITE()]], [[MLCOUNT()]], [[MLINE()]], [[SET MEMOWIDTH]], [[SET MEMOWINDOW]],  [[TEXTEDIT()]]
+
[[MEMLINES()]], [[MEMOLINE()]], [[MEMOREAD()]], [[MEMOSAY()]], [[MEMOWRITE()]], [[MLCOUNT()]], [[MLINE()]], [[SET MEMOWIDTH]]
  
 
==Description==
 
==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.
 
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==
 
==Example==
Line 20: Line 17:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Memos]]
 
[[Category:Memos]]
 
[[Category:Memos Functions]]
 
[[Category:Memos Functions]]

Revision as of 05:06, 10 February 2012

Purpose

Function to translate carriage returns

Syntax

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

See Also

MEMLINES(), MEMOLINE(), MEMOREAD(), MEMOSAY(), MEMOWRITE(), MLCOUNT(), MLINE(), SET MEMOWIDTH

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)