Sorting lines by variable directions and types

Ken Ray kray at
Mon Jun 28 00:14:00 EDT 2010

> Is there some slight of hand I can perform on the variables tDirection
> and tType to make my one-liner functional, i.e.
>      sort lines of  tList   MagicOperator(tDirection)
> MagicOperator(tType) by word 1 of each

You should be able to use "do" for this:

  do "sort lines of tList" && tDirection && tType && "by word 1 of each"

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at
Web Site:

More information about the Use-livecode mailing list