Sorting text

Simon HARPER simon.harper at manchester.ac.uk
Wed Mar 7 04:41:52 EST 2007


Hi there,
As an addition to this does the sorting machinery allow frequency  
counts for words in a text field?


Cheers
Si.

====
Simon Harper
2.44 Kilburn Building
University of Manchester (UK)

Pri: simon.harper at manchester.ac.uk
Alt: sharper at cs.man.ac.uk


On 7 Mar 2007, at 09:19, Mark Smith wrote:

> Greg, you can certainly sort items, but what an item is depends on  
> what the global property "the itemDelimiter" is (it defaults to  
> comma).
>
> So if you want to sort the words in a container, you might try
>
> set the itemDelimiter to space
> sort items of tContainer
>
> You can sort lines and items, but I don't think you can sort words.
>
> Best,
>
> Mark
>
>
> On 7 Mar 2007, at 09:45, Greg Wills wrote:
>
>>
>> 2. Sorting. I am using the "sort" command to sort the words in a  
>> container from the text field, but they are not sorting. If I  use  
>> a few lines of text, then these get sorted, but I was under the  
>> impression that if the line "sort items of holder" (holder as a  
>> variable) is used, then the words in a container would be sorted.  
>> But it is not.
>>
>
> _______________________________________________
> 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