[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
+---------------------------------+
| ATLINE |
+---------------------------------+
ATLINE(<expC1>, <expC2>)
-----------------------------------
Returns line number of character expression found within another.
Return value - Numeric
-----------------------------------
<expC1>
Expression to search for.
<expC2>
Expression to be searched.
Note that the number of lines in a memo field, and the line number
returned by ATLINE(), may be affected by the value assigned by SET
MEMOWIDTH.
+---------------------------------+
| Examples |
+---------------------------------+
CLOSE ALL
USE customer
GO TOP
CLEAR
STORE 'call' TO findstring
LOCATE FOR ATLINE(findstring, comments) != 0
? company
? contact
? MLINE(comments, ATLINE(findstring,comments))
The example below demonstrates how memo width affects ATLINE().
STORE '1234567890ABCDEFGHIJ' TO string
SET MEMOWIDTH TO 20
? ATLINE('AB', string)
SET MEMOWIDTH TO 10
? ATLINE('AB', string)
-----------------------------------
See Also: ATCLINE(), MLINE(), SET MEMOWIDTH
-----------------------------------
See Also:
ATCLINE()
MLINE()
SET MEMOWIDTH
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson