Difference between revisions of "MLCOUNT()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to return the number of word-wrapped lines in a memo field | Function to return the number of word-wrapped lines in a memo field | ||
− | |||
==Syntax== | ==Syntax== | ||
MLCOUNT(<memofield>, <expN>) | MLCOUNT(<memofield>, <expN>) | ||
− | |||
==See Also== | ==See Also== | ||
− | + | [[MEMLINES()]], [[MEMOLINE()]], [[MEMOREAD()]], [[MEMOTRAN()]], [[MEMOWRITE()]], [[MLINE()]], [[SET MEMOWIDTH]] | |
− | + | ||
==Description== | ==Description== | ||
The MLCOUNT() function will return the number of word-wrapped lines in the specified <memofield> field where <expN> is the number of characters per line. The SET MEMOWIDTH command does not affect the length of word wrapping in the memo line count. | The MLCOUNT() function will return the number of word-wrapped lines in the specified <memofield> field where <expN> is the number of characters per line. The SET MEMOWIDTH command does not affect the length of word wrapping in the memo line count. | ||
− | |||
==Example== | ==Example== | ||
Line 25: | Line 21: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Memos]] | [[Category:Memos]] | ||
[[Category:Memos Functions]] | [[Category:Memos Functions]] |
Revision as of 05:16, 10 February 2012
Contents
Purpose
Function to return the number of word-wrapped lines in a memo field
Syntax
MLCOUNT(<memofield>, <expN>)
See Also
MEMLINES(), MEMOLINE(), MEMOREAD(), MEMOTRAN(), MEMOWRITE(), MLINE(), SET MEMOWIDTH
Description
The MLCOUNT() function will return the number of word-wrapped lines in the specified <memofield> field where <expN> is the number of characters per line. The SET MEMOWIDTH command does not affect the length of word wrapping in the memo line count.
Example
use prospect m_last = mlcount(comp_hist, 40) declare lines[m->m_last] for n=1 to m->m_last lines[m->n] = mline(comp_hist, m->n) next