Sort Command in 3.5 is adding lines to a variable

Paul Looney simplsol at aol.com
Thu Jul 2 15:10:26 EDT 2009


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


On Jul 2, 2009, at 11:24 AM, Timothy Bleiler wrote:

> Hi,
>
> The sort command in 3.5 seems to be adding lines to a variable. I  
> have a lot of old code that creates lists using a method like this  
> and I don't believe the problem occurs in earlier versions of rev.
>
> Is this a reported bug or am I missing something?
>
> To see the error, create a stack with a button, paste the following  
> code into the button and click on the button.
>
> On MouseUp
>  Put "Dog" & cr & \
>       "Cat" & cr into tTemp
>   Put number of lines in tTemp into tPreSortCount
>   sort tTemp
>   Put number of lines in tTemp into tPostSortCount
>   Put "Pre-Sort, variable tTemp has" && tPreSortCount && "lines."&  
> return &\
>   "Post-Sort, variable tTemp has" && tPostSortCount && "lines."
> End MouseUp
>
>
> Tim Bleiler, Ph.D.
> Instructional Designer, HSIT
> University at Buffalo
> Phone: 716-829-3867
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list