Difference between revisions of "HARDCR()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to convert carriage returns | Function to convert carriage returns | ||
− | |||
==Syntax== | ==Syntax== | ||
HARDCR(<expC> | <memofield>) | HARDCR(<expC> | <memofield>) | ||
− | |||
==See Also== | ==See Also== | ||
− | [[LEN | + | [[LEN()]], [[MEMOLINE()]], [[MEMOREAD()]], [[MEMOTRAN()]], [[MEMOWRITE()]], [[MLCOUNT()]], [[MLINE()]] |
− | + | ||
==Description== | ==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. | 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== | ==Example== | ||
Line 20: | Line 16: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 06:43, 10 February 2012
Contents
Purpose
Function to convert carriage returns
Syntax
HARDCR(<expC> | <memofield>)
See Also
LEN(), MEMOLINE(), MEMOREAD(), MEMOTRAN(), MEMOWRITE(), MLCOUNT(), MLINE()
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)