[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
MLPOS() Position reporting error.
Clipper Version 1.29 dtd 04/15/91.
Problem Statement
If Word Wrap is ON _and_ the line preceeding the one for which the
position is being determined is either the same length or length -1
of the line length specified in the function call.
( For example, if nLine_Len is specified as 66 and a call is made to a
row/columnn where the previous physical line is either 65 or 66 characters
long.) - per DORMAN BLACKMAN 73047,177.
MLPOS() will report a position that is 2 less than the actual line starting
position. This only applies to the 1st line following the 'long line'. It
corrects itself on the 2nd and subsequent lines (as long as there are no
more 'long lines').
Cause
Unknown.
Work Around(s)
Use MLPOS() to determine nlOffset (line offset) and add 2 if
SUBSTR(cMemo, nlOffset, 1) == Chr(141).
See Also:
MPOSTOLC()
MLCTOPOS()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson