Difference between revisions of "MEMLINES()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | [[HARDCR()]], [[MEMOLINE()]], [[MEMOREAD()]], [[MEMOTRAN()]], [[MEMOWRITE()]], [[MLCOUNT()]], [[MLINE()]], [[SET MEMOWIDTH]] | + | [[HARDCR()]], [[HTML_TOPLAINTEXT()]], [[MEMOLINE()]], [[MEMOREAD()]], [[MEMOTRAN()]], [[MEMOWRITE()]], [[MLCOUNT()]], [[MLINE()]], [[SET MEMOWIDTH]] |
==Description== | ==Description== |
Latest revision as of 09:25, 20 September 2016
Contents
Purpose
Function to return lines needed to display a memo field
Syntax
MEMLINES(<memofield>)
See Also
HARDCR(), HTML_TOPLAINTEXT(), MEMOLINE(), MEMOREAD(), MEMOTRAN(), MEMOWRITE(), MLCOUNT(), MLINE(), SET MEMOWIDTH
Description
The MEMLINES() function returns the number of lines needed to display the <memofield> as specified by the current MEMOWIDTH. The MEMOWIDTH can be reset with the command SET MEMOWIDTH.
Example
use prospect set memowidth to 40 m_last = memlines(comp_hist) declare lines[m->m_last] for n=1 to m->m_last lines[m->n] = mline(comp_hist,m->n) next