Difference between revisions of "MEMOTRAN()"
From Lianjapedia
Yvonne.milne (Talk | contribs) (→See Also) |
Yvonne.milne (Talk | contribs) (→Description) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | [[MEMLINES()]], [[MEMOLINE()]], [[MEMOREAD()]], [[MEMOWRITE()]], [[MLCOUNT()]], [[MLINE()]], [[SET MEMOWIDTH]] | + | [[HTML_TOPLAINTEXT()]], [[MEMLINES()]], [[MEMOLINE()]], [[MEMOREAD()]], [[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. | + | 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 19: | Line 19: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | |||
[[Category:Memos Functions]] | [[Category:Memos Functions]] |
Latest revision as of 06:01, 19 August 2022
Contents
Purpose
Function to translate carriage returns
Syntax
MEMOTRAN(<memofield> | <expC1> [,<expC2> [,<expC3>]])
See Also
HTML_TOPLAINTEXT(), MEMLINES(), MEMOLINE(), MEMOREAD(), 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)