On 4/22/04 11:06 AM, Klaus Major wrote:

Hi Jaqueline,

On 4/22/04 8:53 AM, Thomas McGrath III wrote:

Is this true?


There's an exception for a one-line string with a trailing return. I.e.:

this is line one <CR>

Which returns "1" as the number of lines.


thank you, that explains much :-)

But then, on the other hand, this should not happen in a list field:

1
2
3
..empty line

Click line 4 (!) and "the hilitedlines of fld 1" returns 4,
but "the num of lines of fld 1" returns 3 ???

And
delete line 4 of fld 1; put the num of lines of fld 1
still returns 3 ???

Isn't this a bit incosistent?

Maybe, but I think it is due to the way list fields work. List field objects count carriage returns exclusively; the engine is smarter than that when dealing with variables and actually counts real lines.


--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to