Sort Command in 3.5 is adding lines to a variable

Richard Gaskin ambassador at fourthworld.com
Thu Jul 2 15:52:45 EDT 2009


Paul Looney wrote:
> I have had the opposite happen.
> On a large variable, sorting removed lines.
> Rev 3.0, OS X 10.5

If memory serves, that was the result of a limitation of the sort 
command where it could only be used reliably on data in which no single 
line exceeded 65,535 chars.

According to the v3.5 Engine Change Log, that was fixed in v3.5:
<http://quality.runrev.com/qacenter/show_bug.cgi?id=5932>

Unfortunately the current limit is not noted in the docs for the Sort 
command, nor in that report, so I don't know exactly what it is in the 
latest version.  But 64k of text was a lot for a single line, so 
whatever it's been raised to should be plenty for most common tasks.


Timothy's report of the trailing blank line may be a regression error 
which had been marked as "fixed" in the 3.5 Engine Change Log:
<http://quality.runrev.com/qacenter/show_bug.cgi?id=7809>

--
  Richard Gaskin
  Fourth World
  Revolution training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com



More information about the use-livecode mailing list