JB,
I don't know how the speed compares, but you don't necessarily need to
go to the trouble of sorting if you only care about the longest word:
put 0 into maxLength
repeat for each word w in tText
get length(w)
if (it > maxLength) then put it into maxLength
end repeat
I would think that sorting everything would be costly unless you
actually need to know the length of every word.
- Brian
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution