sort by length of line (Weird)

stephen barncard stephenREVOLUTION2 at barncard.com
Mon Dec 12 12:20:16 EST 2011


Which is a also a great (and fastest) way to get the max width of text in a
column.

get fld "B"

sort lines of it numeric *descending* by number of characters of each

put number of characters in line 1 of it into tWidest_Word_Width


don't you just love BINARY??

On 12 December 2011 09:09, Mark Schonewille <
m.schonewille at economy-x-talk.com> wrote:

> Try numeric.
>
> --
> Kind regards,
>
> Mark Schonewille
> Economy-x-Talk
> Http://economy-x-talk.com
>
> Share the clipboard of your computer over a local network with Clipboard
> Link http://clipboardlink.economy-x-talk.com
>
>
> Op 12 dec. 2011 om 17:55 heeft dunbarx at aol.com het volgende geschreven:
>
> > Hmmm.
> >
> >
> > All that is what I tried in the first place, before writing everyone.
> >
> >
> > It turns out that I have a list that does not quite work, and that is
> what threw me. Can anyone verify that the following lines will not quite
> sort correctlyt?
> >
> >
> >
> > DEZINCKING
> > RAZORBACKS
> > ZOOPLANKTONIC
> > ZINCKY
> > ZEBECK
> > ZADDICK
> > ZEBECKS
> > ZINCKED
> > ZIPLOCK
> > KAZACHKI
> > KAZACHOK
> > ZINCKING
> > ZWIEBACK
> > DEZINCKED
> > RAZORBACK
> > ZWIEBACKS
> >
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  <http://www.google.com/profiles/sbarncar>



More information about the use-livecode mailing list