Forums > MaxMSP

number of line is not number of line

April 14, 2007 | 4:18 pm

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


April 15, 2007 | 3:00 pm

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.


April 15, 2007 | 7:57 pm

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 ?


Viewing 3 posts - 1 through 3 (of 3 total)