Difference between revisions of "MLINE()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 38: Line 38:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Memos]]
 +
[[Category:Memos Functions]]

Revision as of 09:40, 2 June 2009

Class

Memos


Purpose

Function to extract a line of text from a memo


Syntax

MLINE(<memofield>,<expN>)


See Also

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


Description

The MLINE() function extracts a line of text from the specified <memofield>. The <expN> specifies the line number in the range 1 to MEMLINES(). The length of the line extracted is set by the command SET MEMOWIDTH.


Example

use prospect
set scroll to 4,15
@4,0 say " "
set memowidth to 40
m_last = memlines(comp_hist)
for n=1 to m_last
    m_line = mline(comp_hist,n)
    ? m_line
next
set scroll to default


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer