number of line is not number of line

Apr 14, 2007 at 4:18pm

number of line is not number of line

Hello,

When I send the “query” message to a text objet filled with a number of lines, the result sometimes gives the number + 1, as in the text.help file but sometimes not !
What is the problem ?

-
Derrick

#31379
Apr 15, 2007 at 3:00pm

Quote: derrickgiscloux wrote on Sat, 14 April 2007 18:18
—————————————————-
> Hello,
>
> When I send the “query” message to a text objet filled with a number of lines, the result sometimes gives the number + 1, as in the text.help file but sometimes not !
> What is the problem ?
>
>
>
> -
> Derrick
—————————————————-

Probably a newline character at the end of the final line? That could easily make all the difference.

#101843
Apr 15, 2007 at 7:57pm

Text object seems very capricious to me.
Sometimes it gives the right result to query message, sometimes not. …not when I remove a possible newline character at the end of the final line, but ok if I remove the last letter !

I tryed many things and stay in expectation (good speaking ??)
ref-doc doesn’t give more precision about.

Does everyone noticed the same behavior ?

#101844

You must be logged in to reply to this topic.