Dave, if we see the return character as a divider or separator rather than a terminator, it all makes a bit more sense, I think. The line count will always be the number of return characters + 1, as it is assumed that there is data both before and after a return character .

Remember, a return delimited list in Rev is just one string, not many, and I don't know how Rev terminates a string, if at all, but as users, we don't have to deal with that.

Cheers,

Mark

On Wednesday, April 21, 2004, at 09:00 pm, [EMAIL PROTECTED] wrote:

Well it does make it a bit clearer as to the intention of the CR, but
figure this one! If you have (one) line that does not contain a CR at
the end, then the line count is returned as 1!

If you have a return followed by a line of data that does not have a
CR at the end, then the line count is returned as 2!

So your definition above is not quite true! It looks like what is
counted is CRs + an implied CR is there isn't one at the end of the
last line.

Cheers
Dave

_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to