Difference between revisions of "MEMLINES()"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
Line 1: Line 1:
==Class==
 
Memos
 
  
  

Revision as of 15:12, 28 October 2009


Purpose

Function to return lines needed to display a memo field


Syntax

MEMLINES(<memofield>)


See Also

HARDCR(), MEMOEDIT(), MEMOLINE(), MEMOREAD(), MEMOTRAN(), MEMOWRITE(), MLCOUNT(), MLINE(), SET MEMOWIDTH, SET MEMOWINDOW, SET WP, TEXTEDIT()


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


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer