Difference between revisions of "MLINE()"

From Lianjapedia
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[MEMLINES()]], [[MEMOEDIT()]], [[MEMOLINE()]], [[MEMOREAD()]], [[MEMOTRAN()]], [[MEMOWRITE()]], [[MLCOUNT()]], [[SET MEMOWIDTH]]
+
[[HTML_TOPLAINTEXT()]], [[MEMLINES()]], [[MEMOLINE()]], [[MEMOREAD()]], [[MEMOTRAN()]], [[MEMOWRITE()]], [[MLCOUNT()]], [[SET MEMOWIDTH]]
  
 
==Description==
 
==Description==
Line 24: Line 24:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Memos]]
 
 
[[Category:Memos Functions]]
 
[[Category:Memos Functions]]
 +
[[Category:Lianja VFP Extensions]]
 +
[[Category:VFP Function Extensions]]

Latest revision as of 09:27, 20 September 2016

Purpose

Function to extract a line of text from a memo

Syntax

MLINE(<memofield>,<expN>)

See Also

HTML_TOPLAINTEXT(), MEMLINES(), MEMOLINE(), MEMOREAD(), MEMOTRAN(), MEMOWRITE(), MLCOUNT(), SET MEMOWIDTH

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 memowidth to 40
m_last = memlines(comp_hist)
for n=1 to m_last
    m_line = mline(comp_hist,n)
    ? m_line
next